Skip to content

Commit

Permalink
update godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
SimoneDutto committed Nov 13, 2024
1 parent 14f4cb6 commit b79f490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/db/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (d *Database) GetIdentityCloudCredentials(ctx context.Context, u *dbmodel.I
}

// ListIdentities returns a paginated list of identities defined by limit and offset.
// match is used to fuzzy find based on entries' name or uuid using the LIKE operator (ex. LIKE %<match>%).
// match is used to fuzzy find based on entries' name using the LIKE operator (ex. LIKE %<match>%).
func (d *Database) ListIdentities(ctx context.Context, limit, offset int, match string) (_ []dbmodel.Identity, err error) {
const op = errors.Op("db.ListIdentities")
if err := d.ready(); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/jimm/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (j *JIMM) FetchIdentity(ctx context.Context, id string) (*openfga.User, err
}

// ListIdentities lists a page of users in our database and parse them into openfga entities.
// `match` will filter the list for fuzzy find on identity name or uuid.
// `match` will filter the list for fuzzy find on identity name.
func (j *JIMM) ListIdentities(ctx context.Context, user *openfga.User, pagination pagination.LimitOffsetPagination, match string) ([]openfga.User, error) {
const op = errors.Op("jimm.ListIdentities")

Expand Down

0 comments on commit b79f490

Please sign in to comment.