mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
Rename add user operation as create user
This commit is contained in:
@@ -49,10 +49,9 @@ export async function nextCloudApiRequest(this: IHookFunctions | IExecuteFunctio
|
||||
const resource = this.getNodeParameter('resource', 0);
|
||||
const operation = this.getNodeParameter('operation', 0);
|
||||
|
||||
if (resource === 'user' && operation === 'add') {
|
||||
if (resource === 'user' && operation === 'create') {
|
||||
options.uri = options.uri.replace('/remote.php/webdav', '');
|
||||
}
|
||||
console.log(options);
|
||||
return await this.helpers.request(options);
|
||||
} else {
|
||||
const credentials = this.getCredentials('nextCloudOAuth2Api');
|
||||
|
||||
Reference in New Issue
Block a user