missed
This commit is contained in:
parent
9504fff762
commit
79159487a6
|
@ -95,7 +95,7 @@ public class UserImplementation {
|
||||||
response.put("response","Not Allowed");
|
response.put("response","Not Allowed");
|
||||||
}else{
|
}else{
|
||||||
response.put("response","true");
|
response.put("response","true");
|
||||||
response.put("userHash",userResponse.getUser_hash());
|
response.put("user_hash",userResponse.getUser_hash());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
response.put("response","Not Exist");
|
response.put("response","Not Exist");
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class UserResource {
|
||||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body(responseS);
|
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body(responseS);
|
||||||
}
|
}
|
||||||
case "true":{
|
case "true":{
|
||||||
StringResponse responseS = new StringResponse("Ok",response.get("userHash"));
|
StringResponse responseS = new StringResponse("Ok",response.get("user_hash"));
|
||||||
return ResponseEntity.status(HttpStatus.OK).body(responseS);
|
return ResponseEntity.status(HttpStatus.OK).body(responseS);
|
||||||
}
|
}
|
||||||
default:{
|
default:{
|
||||||
|
|
Loading…
Reference in a new issue