mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
Realized my GraphQL payload was fucked anyway but it probably will still freak out at me
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user