mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Satisfy netf, I'm too lazy to add madness support for it now
This commit is contained in:
parent
be8a441e2e
commit
4b5a75eebc
1 changed files with 4 additions and 1 deletions
|
@ -45,7 +45,10 @@ public sealed class SignInWithSteamController : ArchiController {
|
|||
[ProducesResponseType(typeof(GenericResponse), (int) HttpStatusCode.BadRequest)]
|
||||
[ProducesResponseType(typeof(GenericResponse), (int) HttpStatusCode.ServiceUnavailable)]
|
||||
public async Task<ActionResult<GenericResponse>> Post(string botName, [FromBody] SignInWithSteamRequest request) {
|
||||
ArgumentException.ThrowIfNullOrEmpty(botName);
|
||||
if (string.IsNullOrEmpty(botName)) {
|
||||
throw new ArgumentNullException(nameof(botName));
|
||||
}
|
||||
|
||||
ArgumentNullException.ThrowIfNull(request);
|
||||
|
||||
Bot? bot = Bot.GetBot(botName);
|
||||
|
|
Loading…
Reference in a new issue