Skip to content

Commit

Permalink
Fix pipeline type
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Sep 17, 2024
1 parent 8805f90 commit dc8d8dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.15",
"minimist": "^1.2.5",
"mongoose": "^8.0.0",
"mongoose": "^8.6.2",
"ms": "^2.1.2",
"node-fetch": "^3.3.1",
"nodemailer": "^6.4.2",
Expand Down
1 change: 0 additions & 1 deletion src/plugins/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class HistoryRepository {
/** @type {import('mongoose').PipelineStage[]} */
const aggregate = [];
if (filter != null) {
// @ts-expect-error TS2322: promise
aggregate.push({ $match: filter });
}
aggregate.push(
Expand Down

0 comments on commit dc8d8dd

Please sign in to comment.