aaspai-authx 0.1.6 → 0.1.7
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/dist/express/index.cjs +1 -1
- package/dist/express/index.cjs.map +1 -1
- package/dist/express/index.js +1 -1
- package/dist/express/index.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/nest/index.cjs +1 -1
- package/dist/nest/index.cjs.map +1 -1
- package/dist/nest/index.js +1 -1
- package/dist/nest/index.js.map +1 -1
- package/package.json +1 -1
package/dist/nest/index.js
CHANGED
|
@@ -1160,7 +1160,7 @@ function createAuthRouter(options = {}) {
|
|
|
1160
1160
|
value
|
|
1161
1161
|
}));
|
|
1162
1162
|
await user.save();
|
|
1163
|
-
res.json({ ok: true,
|
|
1163
|
+
res.json({ ok: true, user });
|
|
1164
1164
|
});
|
|
1165
1165
|
r.get("/verify-email", async (req, res) => {
|
|
1166
1166
|
const token = String(req.query.token || "");
|