Fix get_all_accounts() URL (remove double /api)
This commit is contained in:
parent
a210d7433a
commit
c70695f330
1 changed files with 1 additions and 1 deletions
|
|
@ -836,7 +836,7 @@ class FavaClient:
|
||||||
try:
|
try:
|
||||||
# Use Fava's /api/accounts endpoint
|
# Use Fava's /api/accounts endpoint
|
||||||
async with httpx.AsyncClient(timeout=self.timeout) as client:
|
async with httpx.AsyncClient(timeout=self.timeout) as client:
|
||||||
response = await client.get(f"{self.base_url}/api/accounts")
|
response = await client.get(f"{self.base_url}/accounts")
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
accounts_data = response.json()
|
accounts_data = response.json()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue