Set required attribute when using Todoist Sync API reminder_add command (#122644)
* Set type=absolute when using Todoist Sync API reminder_add command. This argument is required: ref.: https://developer.todoist.com/sync/v8/#add-a-reminder * Fix --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
parent
aa8c4a6eb7
commit
7bab3579ec
1 changed files with 5 additions and 1 deletions
|
@ -331,7 +331,11 @@ def async_register_services( # noqa: C901
|
|||
"type": "reminder_add",
|
||||
"temp_id": str(uuid.uuid1()),
|
||||
"uuid": str(uuid.uuid1()),
|
||||
"args": {"item_id": api_task.id, "due": reminder_due},
|
||||
"args": {
|
||||
"item_id": api_task.id,
|
||||
"type": "absolute",
|
||||
"due": reminder_due,
|
||||
},
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue