From 46f2329f481134e656e400109a4af40b28f5d6da Mon Sep 17 00:00:00 2001 From: franzmueller Date: Fri, 6 Dec 2024 09:42:35 +0100 Subject: [PATCH] SNRGY-3517 fix characteristics path --- .../metadata/characteristics/shared/characteristics.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/metadata/characteristics/shared/characteristics.service.ts b/src/app/modules/metadata/characteristics/shared/characteristics.service.ts index fa76a19c..9a42d73d 100644 --- a/src/app/modules/metadata/characteristics/shared/characteristics.service.ts +++ b/src/app/modules/metadata/characteristics/shared/characteristics.service.ts @@ -103,7 +103,7 @@ export class CharacteristicsService { } return this.http - .get(environment.deviceRepoUrl + '/characteristics?' + params.join('&'), { observe: 'response'}).pipe( + .get(environment.deviceRepoUrl + '/v2/characteristics?' + params.join('&'), { observe: 'response'}).pipe( map(resp => { const totalStr = resp.headers.get('X-Total-Count') || '0'; return {result: resp.body || [], total: parseInt(totalStr, 10)};