Skip to content

Commit

Permalink
Fix spread
Browse files Browse the repository at this point in the history
  • Loading branch information
DaddyWarbucks committed Mar 1, 2024
1 parent af4be00 commit d63a7e8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,8 @@ export class SequelizeAdapter<
offset: filters.$skip,
attributes: filters.$select,
distinct: true,
returning: typeof params.sequelize?.returning === 'boolean'
? params.sequelize.returning
: true,
raw: typeof params.sequelize?.raw === 'boolean'
? params.sequelize.raw
: this.raw,
returning: true,
raw: this.raw,
...params.sequelize
};

Expand Down

0 comments on commit d63a7e8

Please sign in to comment.