powr-sdk-api 2.3.5 → 2.3.6

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.
@@ -35,7 +35,7 @@ const verifyToken = async (req, res, next) => {
35
35
 
36
36
  // Attach user info to request object
37
37
  req.user = {
38
- powrId: decoded.userId,
38
+ powrId: new ObjectId(decoded.userId),
39
39
  // powr-base user ID
40
40
  fullName: decoded.fullName // User's full name
41
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powr-sdk-api",
3
- "version": "2.3.5",
3
+ "version": "2.3.6",
4
4
  "description": "Shared API core library for PowrStack projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",