Skip to content

Commit 19a8f70

Browse files
authored
Merge pull request #11 from TAMULib/sprint2-d01135-unauthorized-user-error
Changed all services endpont to ROLE_ANONYMOUS
2 parents 95f2c7d + b41d8c6 commit 19a8f70

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)