feat(Microsoft To Do Node): Add an option to set a reminder when creating a task (#5757)

This commit is contained in:
Alberto Pasqualetto
2023-06-28 09:55:40 +02:00
committed by GitHub
parent 2e8dfb86d4
commit b19833d673
2 changed files with 15 additions and 0 deletions

View File

@@ -221,6 +221,14 @@ export class MicrosoftToDo implements INodeType {
};
}
if (body.reminderDateTime) {
body.reminderDateTime = {
dateTime: moment.tz(body.reminderDateTime, timezone).format(),
timeZone: timezone,
};
body.isReminderOn = true;
}
responseData = await microsoftApiRequest.call(
this,
'POST',