mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
fix
This commit is contained in:
parent
621beb155a
commit
25a63cdb2e
@ -97,7 +97,7 @@ public class SellerProfileController : Controller
|
||||
[HttpPut]
|
||||
[Authorize("write:seller-profile")]
|
||||
[Route("Page")]
|
||||
public async Task<IActionResult> UpdateSellerProfilePage(SellerProfilePageSettingsModel model)
|
||||
public async Task<IActionResult> UpdateSellerProfilePage([FromBody]SellerProfilePageSettingsModel model)
|
||||
{
|
||||
var userId = User.GetUserId();
|
||||
var existingSellerProfile = await _dbContext.UserSellerProfiles.Include(x=>x.SellerProfilePageSettings).FirstOrDefaultAsync(sellerProfile=>sellerProfile.UserId==userId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user