diff --git a/app/api/common-api/src/main/java/org/example/config/SecurityConfig.java b/app/api/common-api/src/main/java/org/example/config/SecurityConfig.java index 2135f7f4..c4742906 100644 --- a/app/api/common-api/src/main/java/org/example/config/SecurityConfig.java +++ b/app/api/common-api/src/main/java/org/example/config/SecurityConfig.java @@ -107,7 +107,9 @@ private RequestMatcher getMatcherForUserAndAdmin() { antMatcher(HttpMethod.GET, "/api/v1/genres/unsubscriptions"), antMatcher(HttpMethod.POST, "/api/v1/artists/subscribe"), antMatcher(HttpMethod.POST, "/api/v1/artists/unsubscribe"), - antMatcher(HttpMethod.GET, "/api/v1/artists/subscriptions") + antMatcher(HttpMethod.GET, "/api/v1/artists/subscriptions"), + antMatcher(HttpMethod.GET, "/api/v1/users/notifications"), + antMatcher(HttpMethod.GET, "/api/v1/users/notifications/unread") ); } }