DocumentService: fixed parsing body

This commit is contained in:
pavelbannov 2023-05-05 18:15:24 +03:00
parent a2d928aaa0
commit 66f78a8a5a

View File

@ -616,7 +616,7 @@ public static class DocumentService
[JsonPropertyName("callback")] [JsonPropertyName("callback")]
public string Callback { get; set; } public string Callback { get; set; }
[JsonProperty(PropertyName = "key", Required = Required.Always)] [JsonProperty(PropertyName = "key", Required = Required.AllowNull)]
[JsonPropertyName("key")] [JsonPropertyName("key")]
public string Key { get; set; } public string Key { get; set; }