Fixed misspath in put request of MockControlelr
This commit is contained in:
@@ -34,7 +34,7 @@ public class MockController {
|
|||||||
* @return confirmation and 200 OK
|
* @return confirmation and 200 OK
|
||||||
*/
|
*/
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
@PutMapping("/")
|
@PutMapping
|
||||||
public ResponseEntity<String> updateMessage(@RequestBody String body){
|
public ResponseEntity<String> updateMessage(@RequestBody String body){
|
||||||
ObjectMapper mapper = new ObjectMapper();
|
ObjectMapper mapper = new ObjectMapper();
|
||||||
MockedMessageDto message = mapper.readValue(body, MockedMessageDto.class);
|
MockedMessageDto message = mapper.readValue(body, MockedMessageDto.class);
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user