Skip to content

Commit

Permalink
Use the mods in the count
Browse files Browse the repository at this point in the history
  • Loading branch information
elffjs committed Nov 1, 2024
1 parent da703e7 commit de888b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/repositories/developerlicense/developerlicense.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (r *Repository) GetDeveloperLicenses(ctx context.Context, first *int, after
)
}

totalCount, err := models.DeveloperLicenses().Count(ctx, r.PDB.DBS().Reader)
totalCount, err := models.DeveloperLicenses(queryMods...).Count(ctx, r.PDB.DBS().Reader)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit de888b2

Please sign in to comment.