Skip to content

Commit

Permalink
remove dev profile control
Browse files Browse the repository at this point in the history
  • Loading branch information
bwerquin authored Sep 14, 2021
1 parent b4ea345 commit 58a0dd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ public ResponseEntity<List<String>> getListRequiredNomenclatureByQuestionnaireId
@ApiOperation(value = "Post new nomenclature ")
@PostMapping(path = "/nomenclature")
public ResponseEntity<Object> postNomenclature(@RequestBody NomenclatureDto nomenclature) {
if(!utilsService.isDevProfile() && !utilsService.isTestProfile()) {
/*if(!utilsService.isDevProfile() && !utilsService.isTestProfile()) {
return ResponseEntity.notFound().build();
}
}*/
nomenclatureservice.createNomenclature(nomenclature);
return ResponseEntity.ok().build();
}
Expand Down

0 comments on commit 58a0dd6

Please sign in to comment.