From c723496e69afa9560190001ebc6af639564a3018 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Wed, 28 Jan 2026 18:30:53 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Reformat=20code=20for=20consiste?= =?UTF-8?q?nt=20indentation=20and=20improve=20readability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../composables/useChallongeClientCredentials.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/code/websites/pokedex.online/src/composables/useChallongeClientCredentials.js b/code/websites/pokedex.online/src/composables/useChallongeClientCredentials.js index 579afe6..89f4582 100644 --- a/code/websites/pokedex.online/src/composables/useChallongeClientCredentials.js +++ b/code/websites/pokedex.online/src/composables/useChallongeClientCredentials.js @@ -14,12 +14,12 @@ * ```javascript * import { useChallongeClientCredentials } from '@/composables/useChallongeClientCredentials' * - * const { - * isAuthenticated, - * accessToken, - * authenticate, + * const { + * isAuthenticated, + * accessToken, + * authenticate, * logout, - * saveCredentials + * saveCredentials * } = useChallongeClientCredentials() * * // Save client credentials (one time) @@ -54,7 +54,10 @@ try { tokenData.value = JSON.parse(storedToken); // Check if token is expired - if (tokenData.value.expires_at && Date.now() >= tokenData.value.expires_at) { + if ( + tokenData.value.expires_at && + Date.now() >= tokenData.value.expires_at + ) { console.log('🔄 Client credentials token expired, will need to refresh'); } }