Skip to content

Commit d9061cf

Browse files
hth313xperiandri
authored andcommitted
Fix spelling in error message
1 parent 32a8f05 commit d9061cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FSharp.Data.GraphQL.Client/BaseTypes.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ module internal JsonValueHelper =
346346
| Some "Date" ->
347347
match DateTime.TryParse(s, CultureInfo.InvariantCulture, DateTimeStyles.None) with
348348
| (true, d) -> box d
349-
| _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time sring, but the conversion failed."
349+
| _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time string, but the conversion failed."
350350
| Some _ ->
351351
box s
352352
| _ -> failwith "A string type was received in the query response item, but the matching schema field is not a string based type."
@@ -362,7 +362,7 @@ module internal JsonValueHelper =
362362
| Some "Date" ->
363363
match DateTime.TryParse(s, CultureInfo.InvariantCulture, DateTimeStyles.None) with
364364
| (true, d) -> makeSomeIfNeeded d
365-
| _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time sring, but the conversion failed."
365+
| _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time string, but the conversion failed."
366366
| Some _ ->
367367
s |> makeSomeIfNeeded
368368
| _ -> failwith "A string type was received in the query response item, but the matching schema field is not a string based type."

0 commit comments

Comments
 (0)