From b3f24049ea7df75f42ce32ae7a1f2cc615502563 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Tue, 8 Nov 2022 20:54:02 -0700 Subject: [PATCH] Fix budget balance request URL --- src/app/shared/twigs.http.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());