We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cdc9d7 commit 02b2bcfCopy full SHA for 02b2bcf
1 file changed
Amino.NET/Client.cs
@@ -317,7 +317,7 @@ public Task logout()
317
};
318
RestClient client = new RestClient(helpers.BaseUrl);
319
RestRequest request = new RestRequest("/g/s/auth/logout");
320
- request.AddJsonBody(data);
+ request.AddJsonBody(JsonConvert.SerializeObject(data));
321
request.AddHeader("NDC-MSG-SIG", helpers.generate_signiture(JsonConvert.SerializeObject(data)));
322
request.AddHeaders(headers);
323
var response = client.ExecutePost(request);
0 commit comments