mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 11:42:06 +00:00
Support temporary start.gg players until tournament end
This commit is contained in:
@@ -27,6 +27,7 @@ interface RecentTournament {
|
||||
name: string;
|
||||
slug: string;
|
||||
startAt: number | null;
|
||||
endAt: number | null;
|
||||
}
|
||||
|
||||
interface ImportedPlayer {
|
||||
@@ -413,6 +414,7 @@ nodecg.listenFor('startgg:fetchRecentTournaments', async (payload: unknown, ack)
|
||||
name
|
||||
slug
|
||||
startAt
|
||||
endAt
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -432,6 +434,7 @@ nodecg.listenFor('startgg:fetchRecentTournaments', async (payload: unknown, ack)
|
||||
name: item.name,
|
||||
slug: item.slug,
|
||||
startAt: item.startAt,
|
||||
endAt: item.endAt,
|
||||
})) ?? [];
|
||||
|
||||
sendAck(ack, null, tournaments);
|
||||
|
||||
Reference in New Issue
Block a user