Browse Source

debugging line removed.

pull/1923/head
drobbins329 GitHub 3 years ago
parent
commit
66a8f9a684
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Rest/DiscordRestApiClient.cs

+ 1
- 1
src/Discord.Net.Rest/DiscordRestApiClient.cs View File

@@ -235,7 +235,7 @@ namespace Discord.API
options.BucketId = bucketId;

string json = payload != null ? SerializeJson(payload) : null;
Console.WriteLine($"Sending JSON....\n{json}");
var request = new JsonRestRequest(RestClient, method, endpoint, json, options);
return DeserializeJson<TResponse>(await SendInternalAsync(method, endpoint, request).ConfigureAwait(false));
}


Loading…
Cancel
Save