Skip to content

Commit

Permalink
Fixed deserialization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalii-bezuhlyi committed Mar 14, 2024
1 parent 8abfd1a commit 30ab7cf
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,14 @@ public class TranslationContentResponse
public string SourceContentId { get; set; }

[JsonProperty("fields")]
public List<KeyValuePair<string, string>> Fields { get; set; }
public List<Field> Fields { get; set; }
}

public class Field
{
[JsonProperty("key")]
public string Key { get; set; }

[JsonProperty("value")]
public string Value { get; set; }
}

0 comments on commit 30ab7cf

Please sign in to comment.