Skip to content

Commit

Permalink
respect signed in status fpr swisscomps
Browse files Browse the repository at this point in the history
  • Loading branch information
JEK58 committed Aug 5, 2024
1 parent dab4955 commit 91e716e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/get-swissleague-comp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ export async function getSwissleagueComp(url: string) {

function isConfirmed(status?: string) {
return (
status?.toLowerCase() == "paid" || status?.toLowerCase() == "free entry"
status?.toLowerCase() == "paid" ||
status?.toLowerCase() == "free entry" ||
status?.toLowerCase() == "signed in"
);
}
function generateSwissleagueCompUrl(url: string) {
Expand Down

0 comments on commit 91e716e

Please sign in to comment.