From 15314a579dc6bbbd1738e16103afb7d16c773edb Mon Sep 17 00:00:00 2001 From: Arvindh <30824765+arvindh123@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:24:24 +0530 Subject: [PATCH] NOISSUE - Fix Listing of things connected to a channel (#279) Signed-off-by: Arvindh --- things/api/http/endpoints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/things/api/http/endpoints.go b/things/api/http/endpoints.go index dd86e70f4..a84e01204 100644 --- a/things/api/http/endpoints.go +++ b/things/api/http/endpoints.go @@ -138,7 +138,7 @@ func listMembersEndpoint(svc things.Service) endpoint.Endpoint { if err := req.validate(); err != nil { return nil, errors.Wrap(apiutil.ErrValidation, err) } - + req.Page.Role = mgclients.AllRole // retrieve all things since things don't have roles page, err := svc.ListClientsByGroup(ctx, req.token, req.groupID, req.Page) if err != nil { return nil, err