From 6806963706d1b03bf0fc55d49fb59b0aaca283d4 Mon Sep 17 00:00:00 2001 From: Alexander Foxleigh Date: Wed, 21 Dec 2022 15:35:36 +0000 Subject: [PATCH 1/4] Update todoist-query.js --- lib/todoist-query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/todoist-query.js b/lib/todoist-query.js index 1896ec3..6f6999a 100644 --- a/lib/todoist-query.js +++ b/lib/todoist-query.js @@ -24,7 +24,7 @@ module.exports = function todoistQuery({ Authorization: "Bearer " + token }; - var url = `https://api.todoist.com/rest/v1/${endpoint}`; + var url = `https://api.todoist.com/rest/v2/${endpoint}`; var theHeaders = headers || defaultHeaders; var theMethod = method || "get"; From 7a63c08a30c7b181d486096dcbf7df201b730eb2 Mon Sep 17 00:00:00 2001 From: Alexander Foxleigh Date: Wed, 21 Dec 2022 15:44:52 +0000 Subject: [PATCH 2/4] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cf3e5cd..95263c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@foxleigh81/node-red-contrib-todoist-api", - "version": "0.0.4", + "version": "1.0.0-alpha.0", "description": "Todoist API interaction nodes for Node-RED", "node-red": { "nodes": { From e5c12ac27aea1b21f7baee7c0d61da28857c8ee1 Mon Sep 17 00:00:00 2001 From: Alexander Foxleigh Date: Wed, 21 Dec 2022 15:45:15 +0000 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b2ed1d..0152169 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ![Todoist Node Red](https://repository-images.githubusercontent.com/458516480/01940d4d-b7eb-4683-9afb-ff57ee1a86c1) -This is a node-red palette that allows you to interact with your [Todoist](https://todoist.com) account via the [Todoist REST API](https://developer.todoist.com/rest/v1/#overview) +This is a node-red palette that allows you to interact with your [Todoist](https://todoist.com) account via the [Todoist REST API](https://developer.todoist.com/rest/v2/#overview) ## Install From 6deba66f4eb1ef8b9352d12c7a769741cc248692 Mon Sep 17 00:00:00 2001 From: Alex Foxleigh Date: Tue, 3 Jan 2023 11:04:57 +0000 Subject: [PATCH 4/4] 1.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 95263c4..8f4dbcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@foxleigh81/node-red-contrib-todoist-api", - "version": "1.0.0-alpha.0", + "version": "1.0.0", "description": "Todoist API interaction nodes for Node-RED", "node-red": { "nodes": {