Skip to content

Commit

Permalink
NOISSUE - Bug Fix on Listing Things (#274)
Browse files Browse the repository at this point in the history
Signed-off-by: Rodney Osodo <[email protected]>
  • Loading branch information
rodneyosodo authored Jan 19, 2024
1 parent 7fe60ca commit 25d43bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions things/api/http/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 25d43bc

Please sign in to comment.