Skip to content

Commit

Permalink
Ingest PlayersCircuit in background job
Browse files Browse the repository at this point in the history
  • Loading branch information
enkoder committed Mar 25, 2024
1 parent 9a060db commit 44e03ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const SUPPORTED_TOURNAMENT_TYPES: ABRTournamentTypeFilter[] = [
ABRTournamentTypeFilter.NationalChampionship,
ABRTournamentTypeFilter.IntercontinentalChampionship,
ABRTournamentTypeFilter.ContinentalChampionship,
ABRTournamentTypeFilter.PlayersCircuit,
];

export async function processScheduledEvent(event: ScheduledEvent, env: Env) {
Expand Down
1 change: 1 addition & 0 deletions api/src/lib/abr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export enum ABRTournamentTypeFilter {
Asynchronous = 12,
CircuitBreaker = 13,
IntercontinentalChampionship = 14,
PlayersCircuit = 15,
}

export const ABRTournament = z.object({
Expand Down

0 comments on commit 44e03ea

Please sign in to comment.