diff --git a/src/app/shared/twigs.http.service.ts b/src/app/shared/twigs.http.service.ts index 5248fc3..5aff1a5 100644 --- a/src/app/shared/twigs.http.service.ts +++ b/src/app/shared/twigs.http.service.ts @@ -64,7 +64,7 @@ export class TwigsHttpService implements TwigsService { from?: Date, to?: Date ): Promise { - const url = new URL('/api/transactions/sum') + const url = new URL('/api/transactions/sum', this.apiUrl) url.searchParams.set('budgetId', id) if (from) { url.searchParams.set('from', from.toISOString());