forked from ddrilling/AsbCloudServer
Fix DrillingProgramController.AddFile error message text.
This commit is contained in:
parent
ed8bbf641a
commit
521131d27a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user