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