session-sync-auth-site 0.5.7 → 0.5.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "session-sync-auth-site",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "main": "src/index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -267,7 +267,7 @@ const setUpSessionSyncAuthRoutes = ({
267
267
  }
268
268
 
269
269
  if(deleteUser) {
270
- await deleteUser({ id, req })
270
+ await deleteUser({ id, isAfterAMerge: !!mergeToUserId, req })
271
271
  } else {
272
272
  await global.sessionSyncAuthSiteConnection.asyncQuery(
273
273
  `