diff --git a/src/services/script.js b/src/services/script.js index 18341c827..b8676820c 100644 --- a/src/services/script.js +++ b/src/services/script.js @@ -68,7 +68,7 @@ async function executeScript(script, params, startNoteId, currentNoteId, originE return await executeBundle(bundle, { startNote, originEntity }); } -async function execute(ctx, script, params = []) { +async function execute(ctx, script) { // scripts run as "server" sourceId so clients recognize the changes as "foreign" and update themselves cls.namespace.set('sourceId', sourceIdService.getCurrentSourceId());