mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-21 16:58:37 +00:00
R# cleanup
This commit is contained in:
@@ -38,6 +38,7 @@ namespace ArchiSteamFarm.IPC.Controllers.Api {
|
||||
public ActionResult<GenericResponse<object>> StructureGet(string structure) {
|
||||
if (string.IsNullOrEmpty(structure)) {
|
||||
ASF.ArchiLogger.LogNullError(nameof(structure));
|
||||
|
||||
return BadRequest(new GenericResponse<object>(false, string.Format(Strings.ErrorIsEmpty, nameof(structure))));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user