mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
Rename guildData to getGuildResult
Signed-off-by: Macintosh II <mctaylxrs@outlook.com>
This commit is contained in:
parent
3e0be7eb93
commit
8088ca263b
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ public sealed class GuildUpdateService : BackgroundService
|
||||||
|
|
||||||
private async Task<Result> TickGuildsAsync(Snowflake guildId, CancellationToken ct)
|
private async Task<Result> TickGuildsAsync(Snowflake guildId, CancellationToken ct)
|
||||||
{
|
{
|
||||||
var guildData = await _guildApi.GetGuildAsync(guildId, ct: ct);
|
var getGuildResult = await _guildApi.GetGuildAsync(guildId, ct: ct);
|
||||||
if (guildData.IsSuccess)
|
if (getGuildResult.IsSuccess)
|
||||||
{
|
{
|
||||||
return Result.FromSuccess();
|
return Result.FromSuccess();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue