diff options
author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-02 16:57:07 -0400 |
---|---|---|
committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-02 16:57:07 -0400 |
commit | f8641c164ddc3a0ae4e8e81aa8f5595ce751b17c (patch) | |
tree | a405e5cbbed87404e7315e812fb163b64ed5582d | |
parent | c561e9a5b36bafbb5e6f277b04f112941c2231a5 (diff) | |
download | JellySolutions-f8641c164ddc3a0ae4e8e81aa8f5595ce751b17c.tar.gz JellySolutions-f8641c164ddc3a0ae4e8e81aa8f5595ce751b17c.tar.bz2 JellySolutions-f8641c164ddc3a0ae4e8e81aa8f5595ce751b17c.zip |
Implemented new endpoint to get total number of users
-rw-r--r-- | ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java b/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java index 653a925..c6e622c 100644 --- a/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java +++ b/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java @@ -102,7 +102,7 @@ public class UserController { * ResponseEntity with HTTP status of UNAUTHORIZED if user is not aa manager<br> * ResponseEntity with HTTP status of INTERNAL_SERVER_ERROR otherwise */ - @GetMapping("/userCount") + @GetMapping("/count") public ResponseEntity<Object> getUserCount(@RequestHeader("jelly-api-key") String key) { LOG.log(Level.INFO, "GET /userAmount"); |