propro-utils 1.5.82 → 1.5.84

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.
@@ -232,13 +232,12 @@ const checkIfUserExists = async accountId => {
232
232
  await Promise.all(updates);
233
233
 
234
234
  // Return fresh user data after updates
235
- return userSchema
236
- .findOne({ accountId })
237
- .populate('userGlobalStyles')
238
- .populate({
239
- path: 'theme',
240
- model: 'Theme',
241
- });
235
+ return userSchema.findOne({ accountId });
236
+ // .populate('userGlobalStyles')
237
+ // .populate({
238
+ // path: 'theme',
239
+ // model: 'Theme',
240
+ // });
242
241
  }
243
242
 
244
243
  // Create new user with all associated data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.5.82",
3
+ "version": "1.5.84",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {