Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/nodes-base/nodes/Todoist/GenericFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ export async function todoistSyncRequest(
this: Context,
body: any = {},
qs: IDataObject = {},
endpoint: string = '/sync',
): Promise<any> {
const authentication = this.getNodeParameter('authentication', 0, 'oAuth2');

const options: IRequestOptions = {
headers: {},
method: 'POST',
qs,
uri: 'https://api.todoist.com/sync/v9/sync',
uri: `https://api.todoist.com/sync/v9${endpoint}`,
json: true,
};

Expand Down
Loading
Loading