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:
@@ -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")}`));
|
||||
|
||||
Reference in New Issue
Block a user