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