mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(Todoist Node): Update to use latest api version (#4650)
This commit is contained in:
committed by
GitHub
parent
579f9c4d4e
commit
09a48c51b6
@@ -23,7 +23,7 @@ export async function todoistApiRequest(
|
||||
): Promise<any> {
|
||||
const authentication = this.getNodeParameter('authentication', 0) as string;
|
||||
|
||||
const endpoint = 'api.todoist.com/rest/v1';
|
||||
const endpoint = 'api.todoist.com/rest/v2';
|
||||
|
||||
const options: OptionsWithUri = {
|
||||
method,
|
||||
@@ -56,7 +56,7 @@ export async function todoistSyncRequest(
|
||||
headers: {},
|
||||
method: 'POST',
|
||||
qs,
|
||||
uri: `https://api.todoist.com/sync/v8/sync`,
|
||||
uri: `https://api.todoist.com/sync/v9/sync`,
|
||||
json: true,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user