diff --git a/src/comissions.app.api/Controllers/SellerProfileController.cs b/src/comissions.app.api/Controllers/SellerProfileController.cs index 8942ad2..1b3d4e9 100644 --- a/src/comissions.app.api/Controllers/SellerProfileController.cs +++ b/src/comissions.app.api/Controllers/SellerProfileController.cs @@ -153,7 +153,7 @@ public class SellerProfileController : Controller [HttpPost] [Route("Portfolio")] [Authorize("write:seller-profile")] - public async Task<IActionResult> AddPortfolio(IFormFile file) + public async Task<IActionResult> AddPortfolio([FromForm]IFormFile file) { var userId = User.GetUserId(); var existingSellerProfile = await _dbContext.UserSellerProfiles.FirstOrDefaultAsync(sellerProfile=>sellerProfile.UserId==userId);