From a4a6fbc9d26973f8ff2d8a00d1a246d172a1b783 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Thu, 6 Apr 2023 13:20:34 +0200 Subject: [PATCH] Correct the Todoist API URL --- todoist_interface/todoist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todoist_interface/todoist.py b/todoist_interface/todoist.py index 694592d..033dae3 100644 --- a/todoist_interface/todoist.py +++ b/todoist_interface/todoist.py @@ -4,7 +4,7 @@ import uuid class TodoistAPI: - url = "https://api.todoist.com/rest/v1/" + url = "https://api.todoist.com/rest/v2/" def __init__(self, token: str): self.token = token