From 9a5f2a97a5c4b999b644d782fe0172c2ba728e44 Mon Sep 17 00:00:00 2001 From: gsd Date: Thu, 16 Feb 2023 13:45:15 +0300 Subject: [PATCH] =?UTF-8?q?=D1=8F=20=D0=B4=D1=83=D1=80=D0=B0=D1=87=D0=B5?= =?UTF-8?q?=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/app/controllers/user/ProfileController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/app/controllers/user/ProfileController.java b/src/main/java/app/controllers/user/ProfileController.java index c6d49bb..052b45e 100644 --- a/src/main/java/app/controllers/user/ProfileController.java +++ b/src/main/java/app/controllers/user/ProfileController.java @@ -56,7 +56,7 @@ public class ProfileController { return new ResponseEntity(freeVIPService.addFreeVIP(SteamIDConverter.getSteamID(steam64), socialAuth), HttpStatus.OK); } - @GetMapping("/report") + @PostMapping("/report") @NeedValidCookie public ResponseEntity ReportUser(HttpServletRequest request, @CookieValue(value = "steam64", defaultValue = "") String steam64,