Skip to content

Commit

Permalink
MOSIP-29472 Removed all from dynamic field endpoint (mosip#958)
Browse files Browse the repository at this point in the history
* MOSIP-29472 Removed all from dynamic field endpoint

Signed-off-by: kameshsr <[email protected]>

* MOSIP-29472 Removed all from dynamic field endpoint

Signed-off-by: kameshsr <[email protected]>

---------

Signed-off-by: kameshsr <[email protected]>
Signed-off-by: dhanendra06 <[email protected]>
  • Loading branch information
kameshsr authored and dhanendra06 committed Jun 12, 2024
1 parent 83597a1 commit 05a5522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public ResponseWrapper<DynamicFieldConsolidateResponseDto> getDynamicFieldByName
}

@ResponseFilter
@GetMapping("/all/{fieldName}")
@GetMapping("/{fieldName}")
@ApiOperation(value = " Service to fetch one dynamic field in all the languages")
public ResponseWrapper<List<DynamicFieldExtnDto>> getAllDynamicFieldByName(
@PathVariable("fieldName") String fieldName){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public void t022getDynamicFieldByNameTest2() throws Exception {
@WithUserDetails("global-admin")
public void t000getAllDynamicFieldByNameTest() throws Exception {
MasterDataTest.checkResponse(
mockMvc.perform(MockMvcRequestBuilders.get("/dynamicfields/all/gender")).andReturn(),
mockMvc.perform(MockMvcRequestBuilders.get("/dynamicfields/gender")).andReturn(),
null);
}

Expand Down

0 comments on commit 05a5522

Please sign in to comment.