diff --git a/src/comissions.app.api/Controllers/SellerProfileController.cs b/src/comissions.app.api/Controllers/SellerProfileController.cs index 1b3d4e9..4e9883f 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 AddPortfolio([FromForm]IFormFile file) + public async Task AddPortfolio([FromBody]IFormFile file) { var userId = User.GetUserId(); var existingSellerProfile = await _dbContext.UserSellerProfiles.FirstOrDefaultAsync(sellerProfile=>sellerProfile.UserId==userId);