Skip to content

Commit

Permalink
Fixed CarouselElement unknown fields (#1604) (#1605)
Browse files Browse the repository at this point in the history
## Список изменений
- Исправлена ошибка, вызванная лишним полем CarouselElement #1604

##### Обязательно выполните следующие пункты:
- [x] Проверьте что ваш код не содержит конфликтов, и исправьте их по
необходимости
- [x] Напишите тесты, и обязательно проверьте что не падают другие.

##### Внимание! Pull Request'ы с непройденными тестами не принимаются
  • Loading branch information
xiadosw committed Jan 16, 2024
1 parent 377ac3c commit f33907c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VkNet/Model/Template/Carousel/CarouselElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class CarouselElement
/// <summary>
/// Фото
/// </summary>
[JsonProperty("photo")]
[JsonProperty("photo", DefaultValueHandling = DefaultValueHandling.Ignore)]
public Photo Photo { get; set; }

/// <summary>
Expand Down

0 comments on commit f33907c

Please sign in to comment.