Fixed misspath in put request of MockControlelr

This commit is contained in:
2021-03-26 15:53:05 +01:00
parent 33a42eda75
commit deafb38414
3 changed files with 1 additions and 1 deletions

View File

@@ -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);