mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
minor improvements
This commit is contained in:
@@ -106,7 +106,7 @@ export class GoogleTasks implements INodeType {
|
||||
|
||||
if (additionalFields.links) {
|
||||
body.links = (additionalFields.links as string[]).map(link => {
|
||||
return { link: link };
|
||||
return { link };
|
||||
});
|
||||
}
|
||||
if (additionalFields.status)
|
||||
@@ -144,7 +144,7 @@ export class GoogleTasks implements INodeType {
|
||||
qs
|
||||
);
|
||||
}
|
||||
if (operation == 'delete') {
|
||||
if (operation === 'delete') {
|
||||
//https://developers.google.com/tasks/v1/reference/tasks/delete
|
||||
const taskListId = this.getNodeParameter('task', i) as string;
|
||||
const taskId = this.getNodeParameter('taskId', i) as string;
|
||||
@@ -226,7 +226,7 @@ export class GoogleTasks implements INodeType {
|
||||
responseData = responseData.items;
|
||||
}
|
||||
}
|
||||
if (operation == 'update') {
|
||||
if (operation === 'update') {
|
||||
body = {};
|
||||
//https://developers.google.com/tasks/v1/reference/tasks/patch
|
||||
const taskListId = this.getNodeParameter('task', i) as string;
|
||||
|
||||
Reference in New Issue
Block a user