🔧 Update tournament listing logic with additional scope types and refined authentication handling
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user