From 25d43bc58c30c53bbabff76b98e2d7ee145a1750 Mon Sep 17 00:00:00 2001 From: b1ackd0t <28790446+rodneyosodo@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:10:20 +0300 Subject: [PATCH] NOISSUE - Bug Fix on Listing Things (#274) Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> --- things/api/http/endpoints.go | 1 + 1 file changed, 1 insertion(+) diff --git a/things/api/http/endpoints.go b/things/api/http/endpoints.go index 6e90c0fad2..dd86e70f4e 100644 --- a/things/api/http/endpoints.go +++ b/things/api/http/endpoints.go @@ -109,6 +109,7 @@ func listClientsEndpoint(svc things.Service) endpoint.Endpoint { Permission: req.permission, Metadata: req.metadata, ListPerms: req.listPerms, + Role: mgclients.AllRole, // retrieve all things since things don't have roles } page, err := svc.ListClients(ctx, req.token, req.userID, pm) if err != nil {