diff --git a/lib/index.js b/lib/index.js index c751cdf..81ad57d 100644 --- a/lib/index.js +++ b/lib/index.js @@ -105,7 +105,8 @@ class Service { // Attach 'where' constraints, if any were used. const q = Object.assign({ raw: this.raw, - where: Object.assign({[this.id]: id}, where) + where: Object.assign({[this.id]: id}, where), + order: [] }, params.sequelize); let Model = this.applyScope(params);