From e6602a22ab2157b758bddcbde19ef8788698f42f Mon Sep 17 00:00:00 2001 From: pavelbannov Date: Mon, 20 Jun 2022 13:21:40 +0300 Subject: [PATCH] Files: fix copyas --- products/ASC.Files/Server/Api/FilesController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products/ASC.Files/Server/Api/FilesController.cs b/products/ASC.Files/Server/Api/FilesController.cs index 67a4431beb..ec199a9e2d 100644 --- a/products/ASC.Files/Server/Api/FilesController.cs +++ b/products/ASC.Files/Server/Api/FilesController.cs @@ -123,7 +123,7 @@ public abstract class FilesController : ApiControllerBase return await _filesControllerHelper.GetPresignedUri(fileId); } - [HttpPost("file/{fileId}/copyas", Order = int.MaxValue)] + [HttpPost("file/{fileId}/copyas")] public async Task CopyFileAs(T fileId, CopyAsRequestDto inDto) { if (inDto.DestFolderId.ValueKind == JsonValueKind.Number)