Skip to content

Commit

Permalink
Merge pull request #52 from InseeFr/remove-dev-profil-control
Browse files Browse the repository at this point in the history
Upgrade version
  • Loading branch information
bwerquin authored Sep 14, 2021
2 parents 008f1b9 + 58a0dd6 commit 6bd15df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>fr.insee.queen</groupId>
<artifactId>queen</artifactId>
<version>3.3.7</version>
<version>3.3.8</version>
<packaging>war</packaging>
<name>Queen-Back-Office</name>
<description>Back-office services for Queen</description>
Expand Down
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 6bd15df

Please sign in to comment.