File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
ASFEnhance.IPC/Controllers Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments