This commit is contained in:
lizandrogd
2026-01-20 22:13:02 -05:00
parent f0a713e1da
commit 648a6c0291
19 changed files with 762 additions and 33 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
require_once __DIR__ . '/../config/config_enhanced.php';
require_once __DIR__ . '/../classes/Database.php';
try {
$db = Database::getInstance();
$row = $db->fetch('SELECT * FROM webhook_logs ORDER BY created_at DESC LIMIT 1');
if ($row) {
echo json_encode(['found' => true, 'row' => $row]);
} else {
echo json_encode(['found' => false]);
}
} catch (Exception $e) {
echo json_encode(['error' => $e->getMessage()]);
}