Adjustments for new Todoist API

This commit is contained in:
2025-12-23 22:16:21 -05:00
parent 92adc64d72
commit d091cadacf
3 changed files with 43 additions and 12 deletions

View File

@@ -65,11 +65,11 @@ calendar:
rest_command:
todoist:
method: post
url: 'https://api.todoist.com/sync/v9/{{ url }}'
url: 'https://api.todoist.com/api/v1/{{ url }}'
payload: '{{ payload }}'
headers:
Authorization: !secret todoist_api_token
content_type: 'application/x-www-form-urlencoded'
content_type: 'application/x-www-form-urlencoded'
recorder:
db_url: !secret mariadb_url