From 956b133957b90392c605028c2d5b91cb3cdb8734 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Thu, 11 Apr 2019 14:07:03 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs b/ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs index 5fa7a9d56..479726f70 100644 --- a/ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs +++ b/ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs @@ -34,7 +34,7 @@ namespace ArchiSteamFarm.CustomPlugins.ExamplePlugin { [HttpGet] [ProducesResponseType(typeof(GenericResponse), (int) HttpStatusCode.OK)] [ProducesResponseType(typeof(GenericResponse), (int) HttpStatusCode.ServiceUnavailable)] - public async Task>> ASFGet() { + public async Task>> CatGet() { string link = await CatAPI.GetRandomCatURL(ASF.WebBrowser).ConfigureAwait(false); return !string.IsNullOrEmpty(link) ? Ok(new GenericResponse(link)) : StatusCode((int) HttpStatusCode.ServiceUnavailable, new GenericResponse(false));