From 3894a2415ccd4daade2f18a99828d67153c1aa54 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Wed, 28 Jan 2026 18:40:32 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20tournament=20listing=20?= =?UTF-8?q?logic=20with=20additional=20scope=20types=20and=20refined=20aut?= =?UTF-8?q?hentication=20handling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pokedex.online/src/views/ChallongeTest.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/code/websites/pokedex.online/src/views/ChallongeTest.vue b/code/websites/pokedex.online/src/views/ChallongeTest.vue index 9d1008d..4f30330 100644 --- a/code/websites/pokedex.online/src/views/ChallongeTest.vue +++ b/code/websites/pokedex.online/src/views/ChallongeTest.vue @@ -511,6 +511,9 @@ async function testListTournaments(resetPagination = true) { page: currentPage.value, perPage: 100, scope: tournamentScope.value, + scopeRaw: tournamentScope.value, + ScopeType_USER: ScopeType.USER, + ScopeType_APPLICATION: ScopeType.APPLICATION, states: [ 'pending', 'checking_in', @@ -523,8 +526,13 @@ async function testListTournaments(resetPagination = true) { 'complete' ], resultsCount: result.length, - isAuthenticated: isAuthenticated.value, - authType: isAuthenticated.value ? 'OAuth' : 'API Key', + isOAuthAuthenticated: isAuthenticated.value, + isClientCredsAuthenticated: isClientCredsAuthenticated.value, + authType: isClientCredsAuthenticated.value + ? 'Client Credentials' + : isAuthenticated.value + ? 'OAuth' + : 'API Key', results: result });