Skip to content

Commit

Permalink
rebuilding after new swagger source creation
Browse files Browse the repository at this point in the history
  • Loading branch information
patelhetalit committed Aug 6, 2018
1 parent 437b88d commit baf8862
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public ResponseEntity<MDTemplate> addTemplate(@ApiParam(value = "Template object

templateData.setGuid(UUID.randomUUID().toString());
MDTemplate template = abstractMetadataService.saveTemplate(templateData);
return new ResponseEntity<MDTemplate>(template, HttpStatus.OK);
return new ResponseEntity<MDTemplate>(template, HttpStatus.CREATED);
}
} catch (MetadataTemplateException e1) {
e1.printStackTrace();
Expand Down

0 comments on commit baf8862

Please sign in to comment.