From 5205fee44d7304b643257cb5fb9a3fc8ac1cb9ab Mon Sep 17 00:00:00 2001 From: Mohsen K Amini <77579794+mohsenkamini@users.noreply.github.com> Date: Sun, 2 Jul 2023 14:01:47 +0330 Subject: [PATCH] tiny bugfix --- BackendServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BackendServer.java b/BackendServer.java index b637e81..6a00887 100644 --- a/BackendServer.java +++ b/BackendServer.java @@ -167,7 +167,7 @@ public static synchronized APIResponse handleRequest(APIRequest req) { result.statusCode = 200; result.message="Company "+newComp.name + " created."; break; - case "/user/changepassword": + case "/user/changepassword/": JsonObject passwordPayloadJson = req.payload.getAsJsonObject(); String newPass1= String.valueOf(passwordPayloadJson.get("newPassword1")); String newPass2= String.valueOf(passwordPayloadJson.get("newPassword2"));