Skip to content

Commit 8d664ed

Browse files
committed
misc
1 parent 9843afd commit 8d664ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ASFEnhance.IPC/Controllers/CookiesController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public sealed class CookiesController : AbstractController
2525
[EndpointDescription("获取 Cookies")]
2626
[EndpointSummary("获取 Cookies")]
2727
[ProducesResponseType(typeof(GenericResponse), (int)HttpStatusCode.OK)]
28-
public async Task<ActionResult<GenericResponse<Dictionary<string, string>>>> GetCookies(string botNames)
28+
public ActionResult<GenericResponse<Dictionary<string, string>>> GetCookies(string botNames)
2929
{
3030
if (!Config.DevFeature)
3131
{

ASFEnhance/Explorer/Command.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ internal static class Command
1818
return bot.FormatBotResponse(Strings.BotNotConnected);
1919
}
2020

21-
var appids = await WebRequest.GetDiscoveryQueue(bot).ConfigureAwait(false);
22-
if (appids == null || appids.Count == 0)
21+
var appIds = await WebRequest.GetDiscoveryQueue(bot).ConfigureAwait(false);
22+
if (appIds == null || appIds.Count == 0)
2323
{
2424
return bot.FormatBotResponse(Langs.NetworkError);
2525
}
2626

27-
foreach (var appid in appids)
27+
foreach (var appid in appIds)
2828
{
2929
await WebRequest.SkipDiscoveryQueueItem(bot, appid).ConfigureAwait(false);
3030
await Task.Delay(200).ConfigureAwait(false);

0 commit comments

Comments
 (0)