Skip to content

Commit

Permalink
NOISSUE - Fix Listing of things connected to a channel (#279)
Browse files Browse the repository at this point in the history
Signed-off-by: Arvindh <arvindh91@gmail.com>
  • Loading branch information
arvindh123 authored Jan 26, 2024
1 parent 2d7ccfa commit 15314a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion things/api/http/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15314a5

Please sign in to comment.