Renamed ClientAPIUrl -> APIUrl

This commit is contained in:
RogueException
2017-04-03 02:59:11 -03:00
parent b1caec5f59
commit d6b6a95a2e
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ namespace Discord
typeof(DiscordConfig).GetTypeInfo().Assembly.GetName().Version.ToString(3) ??
"Unknown";
public static readonly string ClientAPIUrl = $"https://discordapp.com/api/v{APIVersion}/";
public static readonly string APIUrl = $"https://discordapp.com/api/v{APIVersion}/";
public const string CDNUrl = "https://cdn.discordapp.com/";
public const string InviteUrl = "https://discord.gg/";

View File

@@ -56,7 +56,7 @@ namespace Discord.API
RequestQueue = new RequestQueue();
_stateLock = new SemaphoreSlim(1, 1);
SetBaseUrl(DiscordConfig.ClientAPIUrl);
SetBaseUrl(DiscordConfig.APIUrl);
}
internal void SetBaseUrl(string baseUrl)
{