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' },