Skip to content

Commit bb80def

Browse files
committed
Add 4 nations teams
1 parent 38567f0 commit bb80def

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

src/geekyStreamsApi.ts

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,26 @@ const providerTeams: ProviderTeam[] = [
529529
abbreviation: "UTA",
530530
nickname: "Utah",
531531
},
532+
{
533+
fullName: "Canada",
534+
abbreviation: "CAN",
535+
nickname: "Canada",
536+
},
537+
{
538+
fullName: "USA",
539+
abbreviation: "USA",
540+
nickname: "USA",
541+
},
542+
{
543+
fullName: "Finland",
544+
abbreviation: "FIN",
545+
nickname: "Finland",
546+
},
547+
{
548+
fullName: "Sweden",
549+
abbreviation: "SWE",
550+
nickname: "Sweden",
551+
},
532552
];
533553

534554
export const getProviderTeamFromAbbreviation = (abbreviation: string): ProviderTeam | null => {
@@ -606,6 +626,18 @@ export const getProviderTeamFromAbbreviation = (abbreviation: string): ProviderT
606626
case "UTA":
607627
case "UTAH":
608628
return providerTeams[33];
629+
case "CAN":
630+
case "CANADA":
631+
return providerTeams[34];
632+
case "US":
633+
case "USA":
634+
return providerTeams[35];
635+
case "FIN":
636+
case "FINLAND":
637+
return providerTeams[36];
638+
case "SWE":
639+
case "SWEDEN":
640+
return providerTeams[37];
609641
default: return null;
610642
}
611643
};
@@ -681,6 +713,16 @@ export const getProviderTeamFromLocation = (location: string): ProviderTeam | nu
681713
return providerTeams[32];
682714
case "Utah":
683715
return providerTeams[33];
716+
case "Canada":
717+
return providerTeams[34];
718+
case "United States of America":
719+
case "United States":
720+
case "USA":
721+
return providerTeams[35];
722+
case "Finland":
723+
return providerTeams[36];
724+
case "Sweden":
725+
return providerTeams[37];
684726
default: return null;
685727
}
686728
};

0 commit comments

Comments
 (0)