message explicite
This commit is contained in:
parent
3cf200cfc7
commit
f4778083a8
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ namespace Yavsc.ApiControllers
|
|||
Include(q => q.Client.PostalAddress).Include(q => q.Prestation).Include(q=>q.Regularisation)
|
||||
.SingleAsync(q => q.Id == id);
|
||||
if (query.PaymentId!=null)
|
||||
return new BadRequestObjectResult(new { error = "Already paid" });
|
||||
return new BadRequestObjectResult(new { error = "An existing payment process already exists" });
|
||||
query.SelectedProfile = _context.BrusherProfile.Single(p => p.UserId == query.PerformerId);
|
||||
var payment = apiContext.CreatePayment(query, "HairCutCommand", "sale", _logger);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue