mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
🐛 Google Tasks: Fix due field (#2426)
This commit is contained in:
parent
7a0e072d98
commit
345c94bd37
|
@ -124,7 +124,7 @@ export class GoogleTasks implements INodeType {
|
||||||
body.notes = additionalFields.notes as string;
|
body.notes = additionalFields.notes as string;
|
||||||
}
|
}
|
||||||
if (additionalFields.dueDate) {
|
if (additionalFields.dueDate) {
|
||||||
body.dueDate = additionalFields.dueDate as string;
|
body.due = additionalFields.dueDate as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (additionalFields.completed) {
|
if (additionalFields.completed) {
|
||||||
|
@ -249,7 +249,7 @@ export class GoogleTasks implements INodeType {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (updateFields.dueDate) {
|
if (updateFields.dueDate) {
|
||||||
body.dueDate = updateFields.dueDate as string;
|
body.due = updateFields.dueDate as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (updateFields.completed) {
|
if (updateFields.completed) {
|
||||||
|
|
|
@ -447,6 +447,13 @@ export const taskFields = [
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Flag indicating whether the task has been deleted.',
|
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',
|
displayName: 'Notes',
|
||||||
name: 'notes',
|
name: 'notes',
|
||||||
|
|
Loading…
Reference in a new issue