Skip to content

Commit

Permalink
Fix/gap lss 431 (#306)
Browse files Browse the repository at this point in the history
* url validation updated to accept # symbol

* existing unknown chane removed
  • Loading branch information
arul-fourseals authored Aug 12, 2024
1 parent ff23331 commit 5b95a78
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 5b95a78

Please sign in to comment.