From bf1f876c5cc7d1a97fb508feaef751bfba7627b1 Mon Sep 17 00:00:00 2001 From: koishibuh Date: Wed, 31 Jul 2024 18:53:51 +0100 Subject: [PATCH] Changed BannedUser to be an array --- .../Moderation/BanUser/BanUserResponse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitchLib.Api.Helix.Models/Moderation/BanUser/BanUserResponse.cs b/TwitchLib.Api.Helix.Models/Moderation/BanUser/BanUserResponse.cs index 0a9376da..880367a7 100644 --- a/TwitchLib.Api.Helix.Models/Moderation/BanUser/BanUserResponse.cs +++ b/TwitchLib.Api.Helix.Models/Moderation/BanUser/BanUserResponse.cs @@ -11,5 +11,5 @@ public class BanUserResponse /// Identifies the user and type of ban. /// [JsonProperty(PropertyName = "data")] - public BannedUser Data { get; protected set; } + public BannedUser[] Data { get; protected set; } }