fixes #2
This commit is contained in:
parent
3445d3084b
commit
81d3f6cfa9
@ -180,7 +180,7 @@ public class APIController {
|
|||||||
|
|
||||||
@PostMapping("/async/notify/get/")
|
@PostMapping("/async/notify/get/")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public DeferredResult<LongPollResult> getNotify(@RequestParam("last_chat_id") Long last_chat_id,
|
public DeferredResult<LongPollResult> getNotify(@RequestParam(value = "last_chat_id", required = false, defaultValue = "0") Long last_chat_id,
|
||||||
@RequestParam("accessToken") String accessToken,
|
@RequestParam("accessToken") String accessToken,
|
||||||
@RequestParam("uid") Long userId,
|
@RequestParam("uid") Long userId,
|
||||||
@RequestParam("poll_token") String poll_token,
|
@RequestParam("poll_token") String poll_token,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user