mirror of
				https://github.com/D4M13N-D3V/comissions-app-core-api.git
				synced 2025-10-31 01:25:27 +00:00 
			
		
		
		
	fix: idk why this was here
This commit is contained in:
		
							parent
							
								
									0cfe656ecd
								
							
						
					
					
						commit
						d8d51b4560
					
				| @ -223,14 +223,7 @@ public class SellerProfileController : Controller | ||||
|          | ||||
|         if(existingSellerProfile.Suspended) | ||||
|             return BadRequest(); | ||||
|         if(existingSellerProfile.StripeAccountId!=null) | ||||
|             return BadRequest(); | ||||
| 
 | ||||
|         var accountId = _paymentService.CreateSellerAccount(); | ||||
|         existingSellerProfile.StripeAccountId = accountId; | ||||
|         existingSellerProfile = _dbContext.UserSellerProfiles.Update(existingSellerProfile).Entity; | ||||
|         await _dbContext.SaveChangesAsync(); | ||||
|         var result = _paymentService.SellerAccountIsOnboarded(accountId); | ||||
|         var result = _paymentService.SellerAccountIsOnboarded(existingSellerProfile.StripeAccountId); | ||||
|         return Ok(new SellerOnboardStatusModel(){ Onboarded= result }); | ||||
|     } | ||||
|      | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Damien Ostler
						Damien Ostler