From b2866ca3da68cc861681ab89e5dfd9376b9c37a9 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 7 Nov 2023 14:58:46 +0100 Subject: [PATCH] feat(api): enable notifications for api token routes --- pkg/models/api_routes.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/models/api_routes.go b/pkg/models/api_routes.go index 24840e45ff8..9c74a73715b 100644 --- a/pkg/models/api_routes.go +++ b/pkg/models/api_routes.go @@ -74,7 +74,6 @@ func CollectRoutesForAPITokenUsage(route echo.Route) { routeGroupName := getRouteGroupName(route.Path) if routeGroupName == "subscriptions" || - routeGroupName == "notifications" || routeGroupName == "tokens" || strings.HasSuffix(routeGroupName, "_bulk") { return