propro-utils 1.5.20 → 1.5.21

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": "propro-utils",
3
- "version": "1.5.20",
3
+ "version": "1.5.21",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -157,6 +157,10 @@ class AuthMiddleware {
157
157
  throw new Error('User not found');
158
158
  }
159
159
 
160
+ console.log('user:', user);
161
+ console.log('account:', account);
162
+ console.log('tokens:', tokens);
163
+
160
164
  if (returnTokens === 'true') {
161
165
  return res.status(200).json({ account, user, tokens });
162
166
  }