mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
fix: forgot to save
This commit is contained in:
parent
0966f7f9db
commit
3b40237bdb
@ -76,6 +76,8 @@ public class RequestsController : Controller
|
|||||||
request.Paid = true;
|
request.Paid = true;
|
||||||
request.PaidDate = DateTime.UtcNow;
|
request.PaidDate = DateTime.UtcNow;
|
||||||
}
|
}
|
||||||
|
_dbContext.Entry(request).State = EntityState.Modified;
|
||||||
|
_dbContext.SaveChanges();
|
||||||
}
|
}
|
||||||
else if (stripeEvent.Type == Events.AccountUpdated)
|
else if (stripeEvent.Type == Events.AccountUpdated)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user