From e3e331a2bb6c7888537303b2b3c9fc60b41a2a9f Mon Sep 17 00:00:00 2001 From: DeepnaPooja Date: Thu, 20 Aug 2026 13:24:51 +0530 Subject: [PATCH] fix the running issue --- Distribution/Features/Store/Kyc/StoreKycDocumentController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Distribution/Features/Store/Kyc/StoreKycDocumentController.cs b/Distribution/Features/Store/Kyc/StoreKycDocumentController.cs index 7175c82..5625ad2 100644 --- a/Distribution/Features/Store/Kyc/StoreKycDocumentController.cs +++ b/Distribution/Features/Store/Kyc/StoreKycDocumentController.cs @@ -18,9 +18,9 @@ public class StoreKycDocumentController(StoreKycDocumentService service) : Contr [HttpPost] [Authorize(Policy = "stores.update")] - public async Task Upload(Guid storeId, [FromForm] string documentType, [FromForm] IFormFile file, CancellationToken ct) + public async Task Upload(Guid storeId, [FromForm] UploadKycDocumentRequest request, CancellationToken ct) { - var result = await service.UploadAsync(storeId, new UploadKycDocumentRequest(documentType, file), ct); + var result = await service.UploadAsync(storeId, request, ct); return result is null ? NotFound() : Ok(result); } }