From 23732fc7b9ee8d32093827bfe878d23da6bfe492 Mon Sep 17 00:00:00 2001 From: Axel Penin Date: Mon, 24 Jun 2024 09:41:26 +0200 Subject: [PATCH] [Workspace] fixes self unregistration --- .../Resources/modules/actions/workspace/unregister-self.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/community/Resources/modules/actions/workspace/unregister-self.js b/src/main/community/Resources/modules/actions/workspace/unregister-self.js index 74fcfad6a5d..aabc4b082b6 100644 --- a/src/main/community/Resources/modules/actions/workspace/unregister-self.js +++ b/src/main/community/Resources/modules/actions/workspace/unregister-self.js @@ -38,7 +38,7 @@ export default (workspaces, refresher, path, currentUser) => { ] }, request: { - url: url('apiv2_workspace_self_unregister', {workspaces: processable.map(workspace => workspace.id)}), + url: url(['apiv2_workspace_self_unregister'], {workspaces: processable.map(workspace => workspace.id)}), request: { method: 'DELETE' },