Skip to content

Commit

Permalink
fix(log): dataSource.createQueryRunner is required (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
shunyue1320 committed Nov 26, 2022
1 parent 8c64541 commit 6173eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function fastifyTypeORMQueryRunner (fastify, opts, done) {
}

if (!('createQueryRunner' in opts.dataSource)) {
return done(new Error('dataSource.createQueryRunner is not required'))
return done(new Error('dataSource.createQueryRunner is required'))
}

const options = Object.assign({}, defaultOptions, opts)
Expand Down

0 comments on commit 6173eea

Please sign in to comment.