diff --git a/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts b/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts index 06f2e12c8d..5026955952 100644 --- a/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts +++ b/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts @@ -900,9 +900,12 @@ export class Mattermost implements INodeType { Object.assign(body, otherOptions); } } else if (resource === 'user') { - if (operation === 'desactive') { + // TODO: Remove the "deactive" again in the future. In here temporary + // to not break workflows for people which set the option before + // typo got fixed. JO 2020-01-17 + if (operation === 'deactive' || operation === 'desactive') { // ---------------------------------- - // user:desactive + // user:deactive // ---------------------------------- const userId = this.getNodeParameter('userId', i) as string; requestMethod = 'DELETE';