Skip to content

Commit e137057

Browse files
committed
update files
1 parent ff03fac commit e137057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main/java/webapp3/webapp3/security/RestSecurityConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected void configure(HttpSecurity http) throws Exception {
5959
//administrator
6060
http.authorizeRequests().antMatchers(HttpMethod.GET, "/api/users/admin/statistics").hasRole("administrator");
6161
http.authorizeRequests().antMatchers(HttpMethod.GET, "/api/users/members/statistics").hasRole("administrator");
62-
http.authorizeRequests().antMatchers(HttpMethod.GET, "/api/users/monitors/").hasRole("administrator");
62+
http.authorizeRequests().antMatchers(HttpMethod.GET, "/api/users/monitors").hasRole("administrator");
6363
http.authorizeRequests().antMatchers(HttpMethod.GET, "/api/users/monitors/{id}").hasRole("administrator");
6464
http.authorizeRequests().antMatchers(HttpMethod.GET, "/api/users/members").hasRole("administrator");
6565

0 commit comments

Comments
 (0)