Skip to content

Commit

Permalink
Merge pull request #289 from facming/dev
Browse files Browse the repository at this point in the history
remove share-search permission check
  • Loading branch information
yanyanho authored Aug 28, 2024
2 parents 0148d8e + 3c4abd0 commit e5a3065
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ public class LoginFilter extends OncePerRequestFilter {
add("/bounty/detail/member");
add("/hire/all");
add("/hire/detail");
add("/share/search");
add("/share/query");
add("/sponsors/all");
}} ;

private Set<String> noAddrCheckApis = new HashSet() {{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public BaseResponse create(@RequestParam String address, @RequestBody Sponsor sp

}
@GetMapping("/all")
public BaseResponse all(@RequestParam String address) {
public BaseResponse all() {
List<Sponsor> sponsors = sponsorRepository.findAll();
return BaseResponse.successWithData(sponsors);
}
Expand Down

0 comments on commit e5a3065

Please sign in to comment.