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