Skip to content

Commit f075487

Browse files
committed
refactor: remove unnecessary raw: true option
1 parent 93e551a commit f075487

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,7 @@ class ErrsoleSequelize extends EventEmitter {
494494

495495
const hashedPassword = await bcrypt.hash(newPassword, 10);
496496
const [updateCount] = await this.errsoleUsers.update({ hashedPassword }, {
497-
where: { email },
498-
raw: true
497+
where: { email }
499498
});
500499
if (updateCount === 0) {
501500
throw new Error('Password update failed.');

0 commit comments

Comments
 (0)