Skip to content

Commit

Permalink
rfac: updateProject (backend)
Browse files Browse the repository at this point in the history
  • Loading branch information
yp969803 committed May 19, 2024
1 parent de8824f commit d36f178
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public ResponseEntity<?> updateProject(@Valid @RequestBody AddProjectRequest upd
return ResponseEntity.badRequest().body("User is not the admin or manager of the org");
}

Boolean isValidLink=githubService.isValidLink(addProjectRequest.getLink(),user.getAccesstoken());
Boolean isValidLink=githubService.isValidLink(updateProjectRequest.getLink(),user.getAccesstoken());
if(!isValidLink){
return ResponseEntity.badRequest().body("Invalid link provided by the user");
}
Expand Down

0 comments on commit d36f178

Please sign in to comment.