token
Some checks are pending
Backend CI / test (push) Waiting to run
Backend CI / build (push) Blocked by required conditions
Deploy Mnemo Cards / Deploy Backend (push) Waiting to run
Deploy Mnemo Cards / Deploy Web App (push) Blocked by required conditions
Deploy Mnemo Cards / Final Verification (push) Blocked by required conditions
Some checks are pending
Backend CI / test (push) Waiting to run
Backend CI / build (push) Blocked by required conditions
Deploy Mnemo Cards / Deploy Backend (push) Waiting to run
Deploy Mnemo Cards / Deploy Web App (push) Blocked by required conditions
Deploy Mnemo Cards / Final Verification (push) Blocked by required conditions
This commit is contained in:
parent
7d847d1575
commit
1aa0c5dc9d
1 changed files with 3 additions and 3 deletions
|
|
@ -134,9 +134,9 @@ class PaymentDao extends DatabaseAccessor<AppDatabase>
|
|||
}
|
||||
|
||||
/// Обновить статус платежа
|
||||
Future<void> updatePaymentStatus(String paymentId, String status) async {
|
||||
print('🔍 PaymentDao.updatePaymentStatus: paymentId=$paymentId, status=$status');
|
||||
final result = await (update(payments)..where((p) => p.id.equals(paymentId))).write(
|
||||
Future<void> updatePaymentStatus(String externalToken, String status) async {
|
||||
print('🔍 PaymentDao.updatePaymentStatus: token=$externalToken, status=$status');
|
||||
final result = await (update(payments)..where((p) => p.externalToken.equals(externalToken))).write(
|
||||
PaymentsCompanion(
|
||||
status: Value(status),
|
||||
updatedAt: Value(PgDateTime(DateTime.now())),
|
||||
|
|
|
|||
Loading…
Reference in a new issue