Skip to content

Commit 9dcbff7

Browse files
committed
fix: user deletion logic again
1 parent 7184994 commit 9dcbff7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ OAuth.deleteUserData = async (data) => {
212212
const promises = [];
213213
for (const [provider, id] of Object.entries(oAuthIds)) {
214214
if (id) {
215-
promises.push(db.deleteObjectField(`${provider}Id:uid`, id));
215+
promises.push(db.deleteObjectField(`${provider}:uid`, id));
216216
}
217217
}
218218

0 commit comments

Comments
 (0)