change endpoint name

This commit is contained in:
2023-12-08 02:28:05 +01:00
parent 9b671a5e2b
commit eb8f984700

View File

@@ -62,7 +62,7 @@ router.post('/login', requestLimiter, async (req, res) => {
}
});
router.post('verifyToken', requestLimiter, async (req, res) => {
router.post('verify', requestLimiter, async (req, res) => {
try {
const token = req.headers.authorization;
if (!token) return await respondWithStatus(res, 401, 'No token provided');