Fix DrillingProgramController.AddFile error message text.

This commit is contained in:
ngfrolov 2022-05-18 17:02:03 +05:00
parent ed8bbf641a
commit 521131d27a

View File

@ -119,7 +119,7 @@ namespace AsbCloudWebApi.Controllers
return BadRequest(ArgumentInvalidException.MakeValidationError(nameof(files), "only 1 file can be uploaded"));
if (files.Count == 0)
return BadRequest(ArgumentInvalidException.MakeValidationError(nameof(files), "at list 1 file can be uploaded"));
return BadRequest(ArgumentInvalidException.MakeValidationError(nameof(files), "at list 1 file should be uploaded"));
var fileName = files[0].FileName;