diff --git a/account/accountinfrastructure/accountmongo/user.go b/account/accountinfrastructure/accountmongo/user.go index 1fb0942..c38dd87 100644 --- a/account/accountinfrastructure/accountmongo/user.go +++ b/account/accountinfrastructure/accountmongo/user.go @@ -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 }