Skip to content

Commit 024fc96

Browse files
committed
Updating endpoints in StatisticsController
1 parent faa86b5 commit 024fc96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/kryptokrona/hugin/controller/StatisticsController.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public ResponseEntity<StatisticsResponse> getPostEncryptedStatistics() {
7878
return new ResponseEntity<>(statisticsResponseObj, HttpStatus.OK);
7979
}
8080

81-
@GetMapping("/post-encrypted-group")
81+
@GetMapping("/posts-encrypted-group")
8282
@Operation(
8383
summary = "Amount of encrypted posts",
8484
description = "Gets the total amount of encrypted posts during last 24h/week/month/year."
@@ -93,7 +93,7 @@ public ResponseEntity<StatisticsResponse> getPostEncryptedGroupStatistics() {
9393
return new ResponseEntity<>(statisticsResponseObj, HttpStatus.OK);
9494
}
9595

96-
@GetMapping("/hashtag")
96+
@GetMapping("/hashtags")
9797
@Operation(
9898
summary = "Amount of hashtags",
9999
description = "Gets the total amount of hashtags during last 24h/week/month/year."

0 commit comments

Comments
 (0)