From 258a1e12ade917197902a5a4d566972806c6690e Mon Sep 17 00:00:00 2001 From: Anton Georgiev <anton.georgiev@protonmail.com> Date: Thu, 1 Apr 2021 18:19:44 +0000 Subject: [PATCH] remove withInstanceId from note/server/helpers --- bigbluebutton-html5/imports/api/note/server/helpers.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bigbluebutton-html5/imports/api/note/server/helpers.js b/bigbluebutton-html5/imports/api/note/server/helpers.js index c71c8b9f6f..69aa7457db 100644 --- a/bigbluebutton-html5/imports/api/note/server/helpers.js +++ b/bigbluebutton-html5/imports/api/note/server/helpers.js @@ -5,8 +5,6 @@ const ETHERPAD = Meteor.settings.private.etherpad; const NOTE_CONFIG = Meteor.settings.public.note; const TOKEN = '_'; -const withInstaceId = (instanceId, id) => `[${instanceId}]${id}`; - const isEnabled = () => NOTE_CONFIG.enabled; const getDataFromResponse = (data, key) => { @@ -32,12 +30,11 @@ const processForNotePadOnly = fn => (message, ...args) => { return () => { }; }; -const generatePadId = (meetingId) => hashSHA1(meetingId + ETHERPAD.apikey); +const generatePadId = meetingId => hashSHA1(meetingId + ETHERPAD.apikey); export { generatePadId, isEnabled, getDataFromResponse, processForNotePadOnly, - withInstaceId, }; -- GitLab