nodebb-plugin-sso-github 3.1.1 → 3.1.2

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
@@ -233,7 +233,7 @@
233
233
  const { uid } = data;
234
234
  const githubid = await User.getUserField(uid, 'githubid');
235
235
  if (githubid) {
236
- await db.deleteObjectField('githubid:uid', oAuthIdToDelete, next);
236
+ await db.deleteObjectField('githubid:uid', githubid, next);
237
237
  await db.deleteObjectField('user:' + uid, 'githubid');
238
238
  }
239
239
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-sso-github",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "NodeBB GitHub SSO",
5
5
  "main": "library.js",
6
6
  "repository": {