mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
Adjust start.gg layout and admin-only tournament listing
This commit is contained in:
@@ -89,7 +89,7 @@ nodecg.listenFor('startgg:fetchRecentTournaments', async (payload: unknown, ack)
|
||||
const query = `
|
||||
query RecentTournaments($perPage: Int!) {
|
||||
currentUser {
|
||||
tournaments(query: { perPage: $perPage }) {
|
||||
tournaments(query: { perPage: $perPage, filter: { tournamentView: "admin" } }) {
|
||||
nodes {
|
||||
id
|
||||
name
|
||||
|
||||
Reference in New Issue
Block a user