fix path email

This commit is contained in:
AdisakKanthawilang 2024-11-21 17:01:35 +07:00
parent 2d2f35847a
commit 34b872d142

View file

@ -1887,7 +1887,7 @@ export class ProfileController extends Controller {
const jwt = require('jsonwebtoken');
const token = jwt.sign({email_id: body.email, profileId: body.profileId}, process.env.AUTH_ACCOUNT_SECRET, {expiresIn: '15m'});
// console.log("[token]",token);
const link = process.env.URL + "/verifyemail/" + token;
const link = process.env.URL + "/verifyemail?upn=" + token;
// console.log("[link]",link);
await new CallAPI()