✨ Clean up unnecessary whitespace in ChallongeTest.vue
This commit is contained in:
@@ -423,7 +423,7 @@ const client = computed(() => {
|
|||||||
// Smart priority based on scope selection:
|
// Smart priority based on scope selection:
|
||||||
// - APPLICATION scope: prefer client credentials (they're designed for this)
|
// - APPLICATION scope: prefer client credentials (they're designed for this)
|
||||||
// - USER scope: prefer OAuth user tokens or API key (client creds don't work well here)
|
// - USER scope: prefer OAuth user tokens or API key (client creds don't work well here)
|
||||||
|
|
||||||
if (tournamentScope.value === ScopeType.APPLICATION) {
|
if (tournamentScope.value === ScopeType.APPLICATION) {
|
||||||
// APPLICATION scope - prefer client credentials
|
// APPLICATION scope - prefer client credentials
|
||||||
if (isClientCredsAuthenticated.value && clientCredsToken.value) {
|
if (isClientCredsAuthenticated.value && clientCredsToken.value) {
|
||||||
@@ -455,7 +455,7 @@ const client = computed(() => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fallback: try API key
|
// Fallback: try API key
|
||||||
if (apiKey.value) {
|
if (apiKey.value) {
|
||||||
console.log('🔑 Using API Key (fallback)');
|
console.log('🔑 Using API Key (fallback)');
|
||||||
@@ -464,7 +464,7 @@ const client = computed(() => {
|
|||||||
{ debug: debugMode.value }
|
{ debug: debugMode.value }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user