Skip to content

Commit 3438015

Browse files
Clone PR #17925: feat(Todoist Node): Add more resources and operations
Original PR: n8n-io/n8n#17925 Author: mutdmour ## Summary Add more resources and operations to Todoist node https://github.com/user-attachments/assets/4bbee79f-ea0e-4c20-9e34-e00add862cd9 <!-- Describe what the PR does and how to test. Photos and videos are recommended. --> ## Related Linear tickets, Github issues, and Community forum posts <!-- Include links to **Linear ticket** or Github issue or Community forum post. Important in order to close *automatically* and provide context to reviewers. https://linear.app/n8n/issue/ --> <!-- Use "closes #<issue-number>", "fixes #<issue-number>", or "resolves #<issue-number>" to automatically close issues when the PR is merged. --> ## Review / Merge checklist - [ ] PR title and summary are descriptive. ([conventions](../blob/master/.github/pull_request_title_conventions.md)) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** --> - [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up ticket created. - [ ] Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. --> - [ ] PR Labeled with `release/backport` (if the PR is an urgent fix that needs to be backported) --- This is a cloned PR for AI code review benchmarking.
1 parent f150343 commit 3438015

File tree

9 files changed

+4878
-104
lines changed

9 files changed

+4878
-104
lines changed

packages/nodes-base/nodes/Todoist/GenericFunctions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,15 @@ export async function todoistSyncRequest(
5151
this: Context,
5252
body: any = {},
5353
qs: IDataObject = {},
54+
endpoint: string = '/sync',
5455
): Promise<any> {
5556
const authentication = this.getNodeParameter('authentication', 0, 'oAuth2');
5657

5758
const options: IRequestOptions = {
5859
headers: {},
5960
method: 'POST',
6061
qs,
61-
uri: 'https://api.todoist.com/sync/v9/sync',
62+
uri: `https://api.todoist.com/sync/v9${endpoint}`,
6263
json: true,
6364
};
6465

0 commit comments

Comments
 (0)