From 7c15db4519afac977484177554fd5ebba1aa33c4 Mon Sep 17 00:00:00 2001 From: kaldray Date: Tue, 18 Jun 2024 15:05:55 +0200 Subject: [PATCH] test --- pages/api/auth/[...nextauth].ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts index 6e93f74..b79bc32 100644 --- a/pages/api/auth/[...nextauth].ts +++ b/pages/api/auth/[...nextauth].ts @@ -9,6 +9,8 @@ const spotifyApi = new SpotifyWebApi({ clientSecret: process.env.SPOTIFY_CLIENT_SECRET, }); +console.log(process.env.NEXTAUTH_SECRET, "==========ENV"); + async function spotifyRefreshAccessToken(token: JWT): Promise { try { if (token.accessToken !== undefined && token.refreshToken !== undefined) {