Skip to content

Commit

Permalink
SNRGY-3517 fix characteristics path
Browse files Browse the repository at this point in the history
  • Loading branch information
franzmueller committed Dec 6, 2024
1 parent 415de97 commit 46f2329
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class CharacteristicsService {
}

return this.http
.get<DeviceTypeCharacteristicsModel[]>(environment.deviceRepoUrl + '/characteristics?' + params.join('&'), { observe: 'response'}).pipe(
.get<DeviceTypeCharacteristicsModel[]>(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)};
Expand Down

0 comments on commit 46f2329

Please sign in to comment.