change from post to get on mark message as read
This commit is contained in:
1 parent
104d7b3fc1
commit
62b94484cb
1 file changed
+1
-1
@@ -103,7 +103,7 @@ public class UserController {
|
||||
return loginResponse.toString();
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/markMessageAsRead/{userId}/{messageId}", method = RequestMethod.POST)
|
||||
@RequestMapping(value = "/markMessageAsRead/{userId}/{messageId}")
|
||||
@ResponseBody
|
||||
public String markMessageAsRead(@PathVariable("userId") long userId, @PathVariable("messageId") long messageId) throws JSONException{
|
||||
User user = userRepository.findOne(userId);
|
||||
|
||||
Reference in new issue
Block a user