Make reopen date optional (#10)
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/all-checks-complete Pipeline was successful

It turns out that the API doesn't necessarily give you this.

Co-authored-by: Smaug123 <patrick+github@patrickstevens.co.uk>
Reviewed-on: #10
This commit is contained in:
2024-02-02 16:19:57 +00:00
parent e96ae78665
commit f182c6ebad
5 changed files with 9 additions and 16 deletions

View File

@@ -124,7 +124,7 @@ module TestJson =
Latitude = 51.480401
}
TimeZone = "Europe/London"
ReopenDate = "2021-04-12T00:00:00+01 Europe/London"
ReopenDate = Some "2021-04-12T00:00:00+01 Europe/London"
}
[ ovalJson, oval ] |> List.map TestCaseData