From 0028d2fb50bea8be3c06670a45d1f02d7bb373e3 Mon Sep 17 00:00:00 2001 From: Mathis Date: Fri, 24 May 2024 11:39:42 +0200 Subject: [PATCH] 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. --- src/services/authentication/jwt.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/authentication/jwt.service.ts b/src/services/authentication/jwt.service.ts index dda664c..e9a526a 100644 --- a/src/services/authentication/jwt.service.ts +++ b/src/services/authentication/jwt.service.ts @@ -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")}`));