Skip to content

Commit

Permalink
add FindAll(user)
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyatomohiro committed Jul 31, 2024
1 parent 237f51a commit 0b35afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account/accountinfrastructure/accountmongo/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (r *User) Init() error {
}

func (r *User) FindAll(ctx context.Context) (user.List, error) {
res, err := r.find(ctx, nil)
res, err := r.find(ctx, bson.M{})
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 0b35afc

Please sign in to comment.