From 50e676a485713b09a7a25b96a45c7e21485a814a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?= Date: Thu, 1 Jan 2026 18:43:23 +0100 Subject: [PATCH] Misc --- .../Controllers/Api/TwoFactorAuthenticationController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArchiSteamFarm/IPC/Controllers/Api/TwoFactorAuthenticationController.cs b/ArchiSteamFarm/IPC/Controllers/Api/TwoFactorAuthenticationController.cs index cdeac299a..7d5f5514a 100644 --- a/ArchiSteamFarm/IPC/Controllers/Api/TwoFactorAuthenticationController.cs +++ b/ArchiSteamFarm/IPC/Controllers/Api/TwoFactorAuthenticationController.cs @@ -45,7 +45,7 @@ public sealed class TwoFactorAuthenticationController : ArchiController { [HttpGet("Confirmations")] [ProducesResponseType>>>>((int) HttpStatusCode.OK)] [ProducesResponseType((int) HttpStatusCode.BadRequest)] - public async Task> ConfirmationsGet(string botNames) { + public async Task> ConfirmationsGet([Description(WebUtilities.BotNamesParameterDescription)] string botNames) { ArgumentException.ThrowIfNullOrEmpty(botNames); HashSet? bots = Bot.GetBots(botNames); @@ -100,7 +100,7 @@ public sealed class TwoFactorAuthenticationController : ArchiController { [HttpDelete] [ProducesResponseType>>>((int) HttpStatusCode.OK)] [ProducesResponseType((int) HttpStatusCode.BadRequest)] - public async Task> Delete(string botNames) { + public async Task> Delete([Description(WebUtilities.BotNamesParameterDescription)] string botNames) { ArgumentException.ThrowIfNullOrEmpty(botNames); HashSet? bots = Bot.GetBots(botNames); @@ -151,7 +151,7 @@ public sealed class TwoFactorAuthenticationController : ArchiController { [HttpGet("Token")] [ProducesResponseType>>>((int) HttpStatusCode.OK)] [ProducesResponseType((int) HttpStatusCode.BadRequest)] - public async Task> TokenGet(string botNames) { + public async Task> TokenGet([Description(WebUtilities.BotNamesParameterDescription)] string botNames) { ArgumentException.ThrowIfNullOrEmpty(botNames); HashSet? bots = Bot.GetBots(botNames);