🐛 Google Tasks: Fix due field (#2426)

This commit is contained in:
Tom 2021-11-13 10:16:56 +01:00 committed by GitHub
parent 7a0e072d98
commit 345c94bd37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -124,7 +124,7 @@ export class GoogleTasks implements INodeType {
body.notes = additionalFields.notes as string;
}
if (additionalFields.dueDate) {
body.dueDate = additionalFields.dueDate as string;
body.due = additionalFields.dueDate as string;
}
if (additionalFields.completed) {
@ -249,7 +249,7 @@ export class GoogleTasks implements INodeType {
}
if (updateFields.dueDate) {
body.dueDate = updateFields.dueDate as string;
body.due = updateFields.dueDate as string;
}
if (updateFields.completed) {

View file

@ -447,6 +447,13 @@ export const taskFields = [
default: false,
description: 'Flag indicating whether the task has been deleted.',
},
{
displayName: 'Due Date',
name: 'dueDate',
type: 'dateTime',
default: '',
description: 'Due date of the task.',
},
{
displayName: 'Notes',
name: 'notes',