chore: file formatting

This commit is contained in:
Kailasdevdas
2026-05-26 15:48:01 +05:30
parent 8a21e0bf38
commit 78e2618a29
117 changed files with 12775 additions and 14638 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
import jwt from "jsonwebtoken";
import "dotenv/config";
import jwt from 'jsonwebtoken';
import 'dotenv/config';
const SECRET = process.env.JWT_SECRET;
export function generateToken(payload) {
return jwt.sign(payload, SECRET, {expiresIn: "24h"});
return jwt.sign(payload, SECRET, { expiresIn: '24h' });
}
export function verifyToken(token) {