Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
yesyash committed Jun 24, 2024
1 parent 8063f40 commit 7f09890
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public GenericResponse<List<Skill>> getAllSkills(@RequestParam(required = false)

@PostMapping
@ResponseStatus(HttpStatus.CREATED)
// TODO : Return only the valid fields by using a DTO.
public GenericResponse<Skill> createSkill(Authentication authentication, @RequestBody(required = true) @Valid SkillDRO skill) {
JwtUserModel userDetails = (JwtUserModel) authentication.getPrincipal();

Expand Down

0 comments on commit 7f09890

Please sign in to comment.