minor change

This commit is contained in:
Nikolaos Laskaris 2017-10-27 13:56:24 +03:00
parent 52ce365123
commit a256ecff25
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ public class Projects {
newdmp = dMPDao.create(newdmp);
return ResponseEntity.status(HttpStatus.OK).body(SerializerProvider.toJson(newdmp));
return ResponseEntity.status(HttpStatus.OK).body(SerializerProvider.toJson(newproj));
}
catch(Exception ex) {
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body("Serialization issue: "+ex.getMessage());