make it run

This commit is contained in:
Anika Raemer 2025-09-22 20:46:31 +02:00
parent c17bb05f0a
commit db480a88e0
7 changed files with 54 additions and 1 deletions

View file

@ -13,6 +13,7 @@ export class encrypt {
}
static generateToken(payload: object) {
// @todo currently, we have an error here!
return jwt.sign(payload, JWT_SECRET, { expiresIn: "1d" });
}
}