Minor update to get_all_data

pull/30/head
Hoffelhas 2023-01-10 20:20:54 +01:00
parent af63bb97c0
commit ce8044d5a7
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ def check_for_update(current_version):
# Get all data through the SYNC API. Needed to see e.g. any completed tasks. # Get all data through the SYNC API. Needed to see e.g. any completed tasks.
def get_all_data(self, api): def get_all_data(api):
BASE_URL = "https://api.todoist.com" BASE_URL = "https://api.todoist.com"
SYNC_VERSION = "v9" SYNC_VERSION = "v9"
SYNC_API = urljoin(BASE_URL, f"/sync/{SYNC_VERSION}/") SYNC_API = urljoin(BASE_URL, f"/sync/{SYNC_VERSION}/")