Skip to content

Commit

Permalink
Core: fix typo in MatchTypeConverter
Browse files Browse the repository at this point in the history
Fix typo in MatchTypeConverter.Read code that would result
in error reading Match.Partial value.
  • Loading branch information
webwarrior-ws committed Sep 2, 2024
1 parent c6d4bdc commit 4f07d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FX.Core/RedisStorageLayer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module Serialization =
if reader.TokenType <> JsonTokenType.EndObject then
raise <| JsonException()
Match.Full
| "Parital" ->
| "Partial" ->
// "Amount" key
reader.Read() |> ignore
if reader.TokenType <> JsonTokenType.PropertyName || reader.GetString() <> "Amount" then
Expand Down

0 comments on commit 4f07d50

Please sign in to comment.