This commit is contained in:
Michael Wain 2024-07-08 20:21:48 +03:00
parent 3445d3084b
commit 81d3f6cfa9

View File

@ -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,