#6539681 Файловый репозиторий

This commit is contained in:
ai.astrakhantsev 2022-09-28 11:17:33 +05:00
parent 863749cfe1
commit ead3e860ba

View File

@ -236,7 +236,7 @@ namespace AsbCloudWebApi.Controllers
[HttpGet]
[Route("/api/files/{idFile}")]
[Permission]
[ProducesResponseType(typeof(PhysicalFileResult), (int)System.Net.HttpStatusCode.OK)]
[ProducesResponseType(typeof(FileInfoDto), (int)System.Net.HttpStatusCode.OK)]
public async Task<IActionResult> GetFileInfoByIdAsync([FromRoute] int idFile, CancellationToken token = default)
{
int? idCompany = User.GetCompanyId();