Skip to content

Commit e885958

Browse files
committed
Use the del method instead
1 parent 9eda317 commit e885958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/user-store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class UserStore {
206206
let userKey = UserStore.normalizeIdKey(user.id)
207207

208208
return Promise.resolve()
209-
.then(() => this.backend.remove('users', userKey, user))
209+
.then(() => this.backend.del('users', userKey))
210210
}
211211

212212
/**

0 commit comments

Comments
 (0)