Skip to content

Commit

Permalink
fix(#2434): Remove the trailing slash from the end point of the measu…
Browse files Browse the repository at this point in the history
…rements (#2435)

* fix(#2434): Remove the trailing slash from the end point of the measurements

* fix(#2434): Remove the trailing slash from the end point of the measurements
tenthe authored Jan 26, 2024
1 parent 27a2c17 commit 0d3f3b5
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -149,7 +149,7 @@ public ResponseEntity<?> dropMeasurementSeries(
}
}

@GetMapping(path = "/measurements/", produces = MediaType.APPLICATION_JSON_VALUE)
@GetMapping(path = "/measurements", produces = MediaType.APPLICATION_JSON_VALUE)
@Operation(summary = "Get a list of all measurement series", tags = {"Data Lake"},
responses = {
@ApiResponse(
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ export class DatalakeRestService {
}

getAllMeasurementSeries(): Observable<DataLakeMeasure[]> {
const url = this.dataLakeUrl + '/measurements/';
const url = this.dataLakeUrl + '/measurements';
return this.http.get(url).pipe(
map(response => {
return (response as any[]).map(p =>

0 comments on commit 0d3f3b5

Please sign in to comment.