Skip to content

Commit

Permalink
tiny bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenkamini authored Jul 2, 2023
1 parent 92e5eff commit 5205fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BackendServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 5205fee

Please sign in to comment.