From 83a9ae7a46b365d09508d152fa52612df7871738 Mon Sep 17 00:00:00 2001 From: franzmueller Date: Tue, 12 Dec 2023 14:51:35 +0100 Subject: [PATCH] device usage: fix auth check --- src/app/widgets/shared/export-data.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/widgets/shared/export-data.service.ts b/src/app/widgets/shared/export-data.service.ts index fb179192..60b2bc01 100644 --- a/src/app/widgets/shared/export-data.service.ts +++ b/src/app/widgets/shared/export-data.service.ts @@ -36,7 +36,7 @@ export class ExportDataService { usageAuthorizations: PermissionTestResponse constructor(private http: HttpClient, private ladonService: LadonService) { - this.usageAuthorizations = this.ladonService.getUserAuthorizationsForURI(environment.billingApiUrl + '/billing-components') + this.usageAuthorizations = this.ladonService.getUserAuthorizationsForURI(environment.timescaleAPIURL + '/usage') }