Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
collinmurd committed Oct 12, 2024
1 parent 242536d commit 944f53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface SessionData {
refreshToken: string,
}

const secretKey = base64url.decode(process.env.SESSION_ENCRYPT_KEY!);
const secretKey = base64url.decode(process.env.SESSION_ENCRYPT_KEY || '');
const cookieName = 'virtual-guillotine-session'

export async function decryptSessionCookie(cookies: RequestCookies | ReadonlyRequestCookies): Promise<SessionData | null> {
Expand Down

0 comments on commit 944f53f

Please sign in to comment.