diff --git a/packages/composable-cli/src/lib/authentication/get-token.ts b/packages/composable-cli/src/lib/authentication/get-token.ts index d0f6e36f..beecd6db 100644 --- a/packages/composable-cli/src/lib/authentication/get-token.ts +++ b/packages/composable-cli/src/lib/authentication/get-token.ts @@ -40,10 +40,12 @@ export async function getToken( credentials.data.refresh_token ) - console.log( - "CALL WAS MADE TO RENEW TOKEN DID YOU EXPECT THIS? ", - renewedToken - ) + if (process.env.NODE_ENV === "development") { + console.log( + "CALL WAS MADE TO RENEW TOKEN DID YOU EXPECT THIS? ", + renewedToken + ) + } if (!renewedToken.success) { return {