revert: keep Bearer prefix for Vikunja Authorization header
CI / validate (pull_request) Failing after 57s
CI / auto-merge (pull_request) Skipped

The Bearer prefix is correct for Vikunja's API. The CI 401 error is
caused by an expired VIKUNJA_TOKEN secret, not the header format.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
emil
2026-08-08 23:05:24 +02:00
co-authored by Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent 60f33ce1dc
commit 9893f71fad
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -606,7 +606,7 @@ class TestVikunjaClient:
def test_init_sets_headers(self) -> None:
client = VikunjaClient("https://work.example.com", "tok")
assert client._base_url == "https://work.example.com"
assert client._session.headers["Authorization"] == "tok"
assert client._session.headers["Authorization"] == "Bearer tok"
def test_list_tasks(self) -> None:
client = VikunjaClient("https://work.example.com", "tok")