Skip to content

Commit

Permalink
forgot I did that
Browse files Browse the repository at this point in the history
  • Loading branch information
lay295 committed May 24, 2023
1 parent caf0db8 commit 8592af7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions TwitchDownloaderCore/TwitchHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,7 @@ public static async Task<List<TwitchEmote>> GetEmotes(List<Comment> comments, st
subBadgeRequest.Headers.Add("Client-ID", "kimne78kx3ncx6brgo4mv6wki5h1ko");
using var subBadgeResponse = await httpClient.SendAsync(subBadgeRequest, HttpCompletionOption.ResponseHeadersRead, cancellationToken);
subBadgeResponse.EnsureSuccessStatusCode();
var test = await subBadgeResponse.Content.ReadFromJsonAsync<GqlSubBadgeResponse>(cancellationToken: cancellationToken);
var subBadges = (test).data.user.badges.GroupBy(x => x.name).ToDictionary(x => x.Key, x => x.ToList());
var subBadges = (await subBadgeResponse.Content.ReadFromJsonAsync<GqlSubBadgeResponse>(cancellationToken: cancellationToken)).data.user.badges.GroupBy(x => x.name).ToDictionary(x => x.Key, x => x.ToList());

List<EmbedChatBadge> badges = new List<EmbedChatBadge>();

Expand Down

0 comments on commit 8592af7

Please sign in to comment.