fix mapping

This commit is contained in:
Anatoly Karlov 2024-09-19 21:33:26 +07:00
parent 8abbe9e25a
commit d830aeeae5

View File

@ -15,7 +15,10 @@ import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.io.IOException;
import java.util.Base64;
@ -51,7 +54,7 @@ public class DebugManualParsingController {
manualParsingHandler.bindCreated(objectMapper.readValue(body, BindParamsRequest.class));
}
@GetMapping("/get")
@PostMapping("/get")
@SneakyThrows
public DisputeResult getDisputes(@RequestBody String body) {
log.debug("getDispute {}", body);