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:
parent
3b3fc782b4
commit
0028d2fb50
@ -58,7 +58,7 @@ async function JwtSignService(
|
|||||||
return await new SignJWT(payload)
|
return await new SignJWT(payload)
|
||||||
.setProtectedHeader(pHeader)
|
.setProtectedHeader(pHeader)
|
||||||
.setIssuedAt(new Date())
|
.setIssuedAt(new Date())
|
||||||
.setIssuer(`OnlyDevs`)
|
.setIssuer("OnlyDevs")
|
||||||
.setAudience(audience)
|
.setAudience(audience)
|
||||||
.setExpirationTime(expTime)
|
.setExpirationTime(expTime)
|
||||||
.sign(new TextEncoder().encode(`${envs.get("JWT_SECRET")}`));
|
.sign(new TextEncoder().encode(`${envs.get("JWT_SECRET")}`));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user