mirror of
https://github.com/valitydev/disputes-api.git
synced 2024-11-06 00:55:23 +00:00
fix mapping
This commit is contained in:
parent
8abbe9e25a
commit
d830aeeae5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user