From 1e34f137cf2adb6d34ab1a71385e54692ae67dd4 Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Mon, 3 Oct 2022 16:04:25 +0500 Subject: [PATCH] rename method --- AsbCloudWebApi/Controllers/FileController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AsbCloudWebApi/Controllers/FileController.cs b/AsbCloudWebApi/Controllers/FileController.cs index f598bc34..a7711247 100644 --- a/AsbCloudWebApi/Controllers/FileController.cs +++ b/AsbCloudWebApi/Controllers/FileController.cs @@ -236,7 +236,7 @@ namespace AsbCloudWebApi.Controllers [Route("/api/files/{idFile}")] [Permission] [ProducesResponseType(typeof(FileInfoDto), (int)System.Net.HttpStatusCode.OK)] - public async Task GetFileInfoByIdAsync([FromRoute] int idFile, CancellationToken token = default) + public async Task GetFileInfoAsync([FromRoute] int idFile, CancellationToken token = default) { int? idCompany = User.GetCompanyId();