Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigBalthazar committed Jan 12, 2025
1 parent 07c393d commit e5fe78f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repositories/domain_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ func (r *DomainRepository) GetAll(ctx context.Context, filter interface{}) (*[]s
if errors.Is(err, mongo.ErrNoDocuments) {
return &[]schema.Domain{}, nil
}

return nil, err
}

return results, nil
}

Expand Down

0 comments on commit e5fe78f

Please sign in to comment.