diff --git a/AirportAlphabetGame/Controller.fs b/AirportAlphabetGame/Controller.fs index f5e4b49..68176d2 100644 --- a/AirportAlphabetGame/Controller.fs +++ b/AirportAlphabetGame/Controller.fs @@ -12,7 +12,7 @@ let parseUsername (username: string) = let pattern = @"https?://(?:www\.)?my\.flightradar24\.com/([^/?#]+)" let matches = Regex.Match(username, pattern) - if matches.Success then matches.Groups.[1].Value + if matches.Success then matches.Groups[1].Value else username let getJsonResult result =