Skip to content

Commit

Permalink
fix: species total bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen committed Aug 16, 2023
1 parent 297a16a commit 70a64ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routers/speciesRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ router.get(
});
log.warn('species filter:', filter, 'took time:', Date.now() - begin, 'ms');
res.send({
total: await SpeciesModel.countByFilter(repo)(filter),
total: null,
offset,
limit,
species: result,
Expand Down

0 comments on commit 70a64ab

Please sign in to comment.