Skip to content

Commit

Permalink
existing unknown chane removed
Browse files Browse the repository at this point in the history
  • Loading branch information
arul-fourseals committed Aug 12, 2024
1 parent 77bb90a commit 006bc71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public ResponseEntity<List<SchemeEditorsDTO>> getSchemeEditors(@PathVariable fin
@PostMapping
public ResponseEntity<String> addEditorToScheme(@PathVariable final Integer schemeId, @RequestBody @Valid final SchemeEditorPostDTO newEditorDto, final HttpServletRequest request) {
final String jwt = HelperUtils.getJwtFromCookies(request, userServiceConfig.getCookieName());
schemeEditorService.addEditorToScheme(schemeId, newEditorDto.getEditorEmailAddress().toLowerCase(), jwt);
schemeEditorService.addEditorToScheme(schemeId, newEditorDto.getEditorEmailAddress(), jwt);
return ResponseEntity.ok("Editor added to scheme successfully");
}

Expand Down

0 comments on commit 006bc71

Please sign in to comment.