Realized my GraphQL payload was fucked anyway but it probably will still freak out at me

This commit is contained in:
barelyprofessional
2026-03-05 09:34:00 -06:00
parent f792cf4712
commit b384845b54

View File

@@ -171,9 +171,17 @@ public class Shuffle : IDisposable
_logger.Debug($"Grabbing details for Shuffle bet {betId}");
var jsonBody = new Dictionary<string, object>
{
{ "operationName", "GetUserProfile" },
{ "operationName", "GetBetInfo" },
{ "query", gql },
{ "variables", new Dictionary<string, string> { { "betId", betId } } }
{ "variables", new Dictionary<string, string> { { "betId", betId } } },
{ "extensions", new Dictionary<string, Dictionary<string, string>> {
{
"clientLibrary", new Dictionary<string, string>()
{
{"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));