mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(Microsoft To Do Node): Add an option to set a reminder when creating a task (#5757)
This commit is contained in:
committed by
GitHub
parent
2e8dfb86d4
commit
b19833d673
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user