Skip to content

Commit

Permalink
Merge pull request #8 from fabrix-app/v1.1
Browse files Browse the repository at this point in the history
[fix] findOne
  • Loading branch information
scott-wyatt authored Aug 2, 2018
2 parents 45a80bc + d062877 commit 0ee8138
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
4 changes: 2 additions & 2 deletions lib/SequelizeResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ export class SequelizeResolver extends FabrixResolver {
/**
*
*/
findOne(criteria, options = { }) {
findOne(criteria) {
if (this._sequelizeModel) {
return this._sequelizeModel.findOne(criteria, options)
return this._sequelizeModel.findOne(criteria)
}
}

Expand Down
25 changes: 15 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fabrix/spool-sequelize",
"version": "1.1.4",
"version": "1.1.5",
"description": "Spool - Datastore Spool for Sequelize.js http://sequelizejs.com",
"scripts": {
"build": "tsc -p ./lib/tsconfig.release.json",
Expand Down Expand Up @@ -46,7 +46,6 @@
"url": "git+https://github.com/fabrix-app/spool-sequelize.git"
},
"dependencies": {
"@types/sequelize": "^4.27.23",
"joi": "^13.4.0",
"lodash": "^4.17.10",
"sequelize": "^4.37.10"
Expand All @@ -58,6 +57,7 @@
"@fabrix/spool-tapestries": "^1.1.3",
"@types/lodash": "^4.14.109",
"@types/node": "~10.3.4",
"@types/sequelize": "^4.27.24",
"mocha": "^5",
"nyc": "^12.0.2",
"pg": "^6.4.2",
Expand Down

0 comments on commit 0ee8138

Please sign in to comment.