Changed to object since it didn't want to convert the number to a string

This commit is contained in:
barelyprofessional
2025-07-23 12:25:43 -05:00
parent de4e137a48
commit d4c49467e3

View File

@@ -13,7 +13,7 @@ public class PeerTubeVideoDataModel
[JsonPropertyName("name")] [JsonPropertyName("name")]
public required string Name { get; set; } public required string Name { get; set; }
[JsonPropertyName("category")] [JsonPropertyName("category")]
public Dictionary<string, string>? Category { get; set; } public Dictionary<string, object>? Category { get; set; }
[JsonPropertyName("isLive")] [JsonPropertyName("isLive")]
public required bool IsLive { get; set; } public required bool IsLive { get; set; }
[JsonPropertyName("account")] [JsonPropertyName("account")]