fix: switch to double quotes in setIssuer method in jwt.service

This commit changes the use of backticks for the setIssuer function in the jwt.service to use double quotes. This aims to maintain code consistency and align with the standard syntax conventions in the codebase.
This commit is contained in:
Mathis H (Avnyr) 2024-05-24 11:39:42 +02:00
parent 3b3fc782b4
commit 0028d2fb50
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -58,7 +58,7 @@ async function JwtSignService(
return await new SignJWT(payload)
.setProtectedHeader(pHeader)
.setIssuedAt(new Date())
.setIssuer(`OnlyDevs`)
.setIssuer("OnlyDevs")
.setAudience(audience)
.setExpirationTime(expTime)
.sign(new TextEncoder().encode(`${envs.get("JWT_SECRET")}`));