From c8979222f214bbd68c47881cfc8c9caa7f309092 Mon Sep 17 00:00:00 2001 From: sydp Date: Thu, 18 Jul 2024 17:22:19 +1000 Subject: [PATCH] Fix aggregator endpoints RestApiClient (#3128) --- timesketch/frontend-ng/src/utils/RestApiClient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/timesketch/frontend-ng/src/utils/RestApiClient.js b/timesketch/frontend-ng/src/utils/RestApiClient.js index d18b735504..b11f4a6d54 100644 --- a/timesketch/frontend-ng/src/utils/RestApiClient.js +++ b/timesketch/frontend-ng/src/utils/RestApiClient.js @@ -275,10 +275,10 @@ export default { return RestApiClient.get('/sketches/' + sketchId + '/aggregation/') }, getAggregationById(sketchId, aggregationId) { - return RestApiClient.get('/sketches/' + sketchId + '/aggregation/' + aggregationId) + return RestApiClient.get('/sketches/' + sketchId + '/aggregation/' + aggregationId + '/') }, deleteAggregationById(sketchId, aggregationId) { - return RestApiClient.delete('/sketches/' + sketchId + '/aggregation/' + aggregationId) + return RestApiClient.delete('/sketches/' + sketchId + '/aggregation/' + aggregationId + '/') }, getAggregationGroups(sketchId) { return RestApiClient.get('/sketches/' + sketchId + '/aggregation/group/')