mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
⚡ Also fix Mattermost desactive typo in execute-function
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user