propro-utils 1.5.73 → 1.5.74

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.
@@ -171,7 +171,7 @@ const checkIfUserExists = async accountId => {
171
171
  userId: user.id,
172
172
  id: uuidv4(),
173
173
  });
174
- user.theme = defaultTheme._id;
174
+ user.theme = [defaultTheme._id];
175
175
  await user.save();
176
176
  }
177
177
 
@@ -200,7 +200,7 @@ const checkIfUserExists = async accountId => {
200
200
  userId: user.id,
201
201
  id: uuidv4(),
202
202
  });
203
- user.theme = defaultTheme._id;
203
+ user.theme = [defaultTheme._id];
204
204
  await user.save();
205
205
 
206
206
  return user;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.5.73",
3
+ "version": "1.5.74",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {