From b384845b54d10cd7055679833e99fb119dbf2db8 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Thu, 5 Mar 2026 09:34:00 -0600 Subject: [PATCH] Realized my GraphQL payload was fucked anyway but it probably will still freak out at me --- KfChatDotNetBot/Services/Shuffle.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/KfChatDotNetBot/Services/Shuffle.cs b/KfChatDotNetBot/Services/Shuffle.cs index 85b665a..e37c09f 100644 --- a/KfChatDotNetBot/Services/Shuffle.cs +++ b/KfChatDotNetBot/Services/Shuffle.cs @@ -171,9 +171,17 @@ public class Shuffle : IDisposable _logger.Debug($"Grabbing details for Shuffle bet {betId}"); var jsonBody = new Dictionary { - { "operationName", "GetUserProfile" }, + { "operationName", "GetBetInfo" }, { "query", gql }, - { "variables", new Dictionary { { "betId", betId } } } + { "variables", new Dictionary { { "betId", betId } } }, + { "extensions", new Dictionary> { + { + "clientLibrary", new Dictionary() + { + {"name", "@apollo/client"}, + {"version", "4.1.4"} + } + } } }, }; _logger.Debug("Created dictionary object for the JSON payload, should serialize to following value:"); _logger.Debug(JsonSerializer.Serialize(jsonBody));