Update: 2026-05-07 03:26:24
This commit is contained in:
@@ -139,7 +139,7 @@ function activateSubscription(\PDO $db, array $payment, string $userId): void
|
||||
]);
|
||||
|
||||
// Log activation
|
||||
$logStmt = $db->prepare("INSERT INTO audit_logs (tenant_id, user_id, action, entity_type, entity_id, details) VALUES (?, ?, 'subscription.activated', 'payment', ?, ?)");
|
||||
$logStmt = $db->prepare("INSERT INTO audit_logs (tenant_id, user_id, action, entity_type, entity_id, new_data) VALUES (?, ?, 'subscription.activated', 'payment', ?, ?)");
|
||||
$logStmt->execute([
|
||||
$payment['tenant_id'],
|
||||
$userId,
|
||||
|
||||
Reference in New Issue
Block a user