From dcfb991f94a0e74fcc629d12af877389073d90f1 Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 20 Jun 2023 09:20:06 +0200 Subject: [PATCH] hotFix(getLeaves): remoteMethodCtx correct defined --- modules/worker/back/methods/department/getLeaves.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/worker/back/methods/department/getLeaves.js b/modules/worker/back/methods/department/getLeaves.js index 48fe78e08..b1ce2fbe8 100644 --- a/modules/worker/back/methods/department/getLeaves.js +++ b/modules/worker/back/methods/department/getLeaves.js @@ -1,5 +1,5 @@ module.exports = Self => { - Self.remoteMethodCtx, ('getLeaves', { + Self.remoteMethodCtx('getLeaves', { description: 'Returns the nodes for a department', accepts: [{ arg: 'parentId',