✨ 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:
|
||||
// - 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)
|
||||
|
||||
|
||||
if (tournamentScope.value === ScopeType.APPLICATION) {
|
||||
// APPLICATION scope - prefer client credentials
|
||||
if (isClientCredsAuthenticated.value && clientCredsToken.value) {
|
||||
@@ -455,7 +455,7 @@ const client = computed(() => {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Fallback: try API key
|
||||
if (apiKey.value) {
|
||||
console.log('🔑 Using API Key (fallback)');
|
||||
@@ -464,7 +464,7 @@ const client = computed(() => {
|
||||
{ debug: debugMode.value }
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user