mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
ID is a string apparently
This commit is contained in:
@@ -119,7 +119,7 @@ public class TwitchGraphQl(string? proxy = null, CancellationToken cancellationT
|
||||
|
||||
returnData.IsLive = true;
|
||||
returnData.Id = responseContent.GetProperty("data").GetProperty("user").GetProperty("stream").GetProperty("id")
|
||||
.GetInt64();
|
||||
.GetString();
|
||||
returnData.ViewerCount = responseContent.GetProperty("data").GetProperty("user").GetProperty("stream").GetProperty("viewersCount")
|
||||
.GetInt32();
|
||||
return returnData;
|
||||
@@ -146,5 +146,5 @@ public class TwitchGraphQlModel
|
||||
/// <summary>
|
||||
/// Stream ID returned by the GraphQL endpoint. null if none
|
||||
/// </summary>
|
||||
public long? Id { get; set; }
|
||||
public string? Id { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user