Merge branch '5.2.x'

This commit is contained in:
Sam Brannen 2020-06-23 17:10:33 +02:00
commit f9331d921f
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ public class PersonHandler {
int personId = Integer.parseInt(request.pathVariable("id"));
Person person = repository.getPerson(personId);
if (person != null) {
return ok().contentType(APPLICATION_JSON).body(person))
return ok().contentType(APPLICATION_JSON).body(person);
}
else {
return ServerResponse.notFound().build();