nodebb-plugin-sso-facebook 4.1.2 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/library.js +1 -1
  2. package/package.json +1 -1
package/library.js CHANGED
@@ -309,7 +309,7 @@
309
309
  const { uid } = data;
310
310
  const fbid = await user.getUserField(uid, 'fbid');
311
311
  if (fbid) {
312
- await db.deleteObjectField('fbid:uid', oAuthIdToDelete);
312
+ await db.deleteObjectField('fbid:uid', fbid);
313
313
  await db.deleteObjectField('user:' + uid, 'fbid');
314
314
  }
315
315
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-sso-facebook",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "NodeBB Facebook SSO",
5
5
  "main": "library.js",
6
6
  "repository": {