diff --git a/src/main/java/app/controllers/user/DetailController.java b/src/main/java/app/controllers/user/DetailController.java index 7bd4cb4..393ffbc 100644 --- a/src/main/java/app/controllers/user/DetailController.java +++ b/src/main/java/app/controllers/user/DetailController.java @@ -63,4 +63,15 @@ public class DetailController { if (!container.containsKey("any")) return new ResponseEntity(HttpStatus.BAD_REQUEST); return new ResponseEntity<>(profileService.GetSteamIDFromAnyData(container.get("any")), HttpStatus.OK); } + + @PostMapping("/steam/web") + @CheckWebAccess(auth_method = AuthMethod.STEAM64) + @WaitAfterNext + public ResponseEntity GetSteamOnHashMap4Web(HttpServletRequest request, + @RequestBody HashMap container) { + if (!container.containsKey("any")) return new ResponseEntity(HttpStatus.BAD_REQUEST); + return new ResponseEntity<>(profileService.GetSteamIDFromAnyData(container.get("any")), HttpStatus.OK); + } + + }