Skip to content

Commit b41d8c6

Browse files
committed
Changed all services endpont to ROLE_ANONYMOUS
1 parent 95f2c7d commit b41d8c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/edu/tamu/app/controller/ServiceController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class ServiceController {
3131
private ServiceRepo serviceRepo;
3232

3333
@ApiMapping("/all")
34-
@Auth(role="ROLE_STAFF")
34+
@Auth(role="ROLE_ANONYMOUS")
3535
public ApiResponse getAllServices() {
3636
return new ApiResponse(SUCCESS, serviceRepo.findAll());
3737
}

0 commit comments

Comments
 (0)