From a2d01efe4c7cd5a6277679e2a5102f05a48f0c67 Mon Sep 17 00:00:00 2001 From: nyagamunene Date: Fri, 6 Dec 2024 20:24:21 +0300 Subject: [PATCH] fix failing linter Signed-off-by: nyagamunene --- users/middleware/authorization.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/middleware/authorization.go b/users/middleware/authorization.go index d16d94d3cb4..c5fb999e375 100644 --- a/users/middleware/authorization.go +++ b/users/middleware/authorization.go @@ -133,7 +133,7 @@ func (am *authorizationMiddleware) ListMembers(ctx context.Context, session auth PatID: session.ID, OptionalDomainID: session.DomainID, PlatformEntityType: smqauth.PlatformUsersScope, - OptionalDomainEntityType: smqauth.DomainThingsScope, + OptionalDomainEntityType: smqauth.DomainClientsScope, Operation: smqauth.ListOp, EntityIDs: smqauth.AnyIDs{}.Values(), }); err != nil {