Skip to content

Commit

Permalink
Merge pull request #22 from ADPRO-C11/subbox-management
Browse files Browse the repository at this point in the history
make home be text
  • Loading branch information
pesolosep authored May 25, 2024
2 parents 9d4b1fd + 9d85cd8 commit 7ae684c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ private void validateAdminOnly(String token) throws IllegalAccessException {
}

@GetMapping("")
public ResponseEntity<String> main(@RequestHeader(value = "Authorization") String token) throws IllegalAccessException {
validateToken(token);
public ResponseEntity<String> main(){
return ResponseEntity.ok("Snackscription - SubscriptionBox Management API by ADMIN only!");
}

Expand Down

0 comments on commit 7ae684c

Please sign in to comment.