mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 21:37:32 -08:00
⚡ Also fix Mattermost desactive typo in execute-function
This commit is contained in:
parent
731d645e68
commit
a00de10939
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue