You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/index.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -451,7 +451,7 @@ class ErrsoleSQLite extends EventEmitter {
451
451
constquery=`DELETE FROM ${this.usersTable} WHERE id = ?`;
452
452
returnnewPromise((resolve,reject)=>{
453
453
this.db.run(query,[id],function(err){// You must use an old-school function () { ... } style callback rather than a lambda function, otherwise this.lastID and this.changes will be undefined.
0 commit comments