add comment

This commit is contained in:
Alessandro Ferro 2024-02-20 16:03:21 +01:00
parent 18be287a04
commit 11b4cfba47
2 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ function generateToken(person_id) {
} }
// If the token is valid, store the decoded data in the request object // If the token is valid, store the decoded data in the request object
// req.jwt will contain the payload created in generateToken
req.jwt = decoded; req.jwt = decoded;
next(); next();
}); });