diff --git a/src/main/java/id/ac/ui/cs/advprog/snackscription_subscriptionbox/controller/SubscriptionBoxController.java b/src/main/java/id/ac/ui/cs/advprog/snackscription_subscriptionbox/controller/SubscriptionBoxController.java index 1123a09..09b1710 100644 --- a/src/main/java/id/ac/ui/cs/advprog/snackscription_subscriptionbox/controller/SubscriptionBoxController.java +++ b/src/main/java/id/ac/ui/cs/advprog/snackscription_subscriptionbox/controller/SubscriptionBoxController.java @@ -46,8 +46,7 @@ private void validateAdminOnly(String token) throws IllegalAccessException { } @GetMapping("") - public ResponseEntity main(@RequestHeader(value = "Authorization") String token) throws IllegalAccessException { - validateToken(token); + public ResponseEntity main(){ return ResponseEntity.ok("Snackscription - SubscriptionBox Management API by ADMIN only!"); }