diff --git a/ASF-ui b/ASF-ui index a8cf73abe..7271f9bdd 160000 --- a/ASF-ui +++ b/ASF-ui @@ -1 +1 @@ -Subproject commit a8cf73abe4b90954ef8010c0d7b6e4f2359e2629 +Subproject commit 7271f9bdd22ebf388cfa0cf819c06383eea506b6 diff --git a/ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs b/ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs index f25be92ca..882b95325 100644 --- a/ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs +++ b/ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs @@ -124,15 +124,15 @@ namespace ArchiSteamFarm.IPC.Controllers.Api { /// Makes ASF update itself. /// [HttpPost("Update")] - [ProducesResponseType(typeof(GenericResponse), (int) HttpStatusCode.OK)] - public async Task>> UpdatePost() { + [ProducesResponseType(typeof(GenericResponse), (int) HttpStatusCode.OK)] + public async Task>> UpdatePost() { (bool success, string message, Version version) = await Actions.Update().ConfigureAwait(false); if (string.IsNullOrEmpty(message)) { message = success ? Strings.Success : Strings.WarningFailed; } - return Ok(new GenericResponse(success, message, version)); + return Ok(new GenericResponse(success, message, version.ToString())); } } }