Skip to content

Commit

Permalink
Update things/clients/service.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sammy Kerata Oina <44265300+SammyOina@users.noreply.github.com>
  • Loading branch information
rodneyosodo and SammyOina committed Jul 11, 2023
1 parent a541cae commit 6b2b558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion things/clients/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (svc service) ListClients(ctx context.Context, token string, pm mfclients.P
pm.Owner = userID
}

case err != nil:
default:
// If the user is not admin, check 'sharedby' parameter from page metadata.
// If user provides 'sharedby' key, fetch things from policies. Otherwise,
// fetch things from the database based on thing's 'owner' field.
Expand Down

0 comments on commit 6b2b558

Please sign in to comment.