This commit is contained in:
lizandrogd
2026-01-21 09:29:59 -05:00
parent 532d46c458
commit fd9c718a44
2 changed files with 40 additions and 21 deletions
+6
View File
@@ -0,0 +1,6 @@
<?php
require_once __DIR__ . '/../config/config.php';
$db = Database::getInstance();
$rows = $db->fetchAll('SELECT id, created_at, request_body FROM webhook_logs ORDER BY created_at DESC LIMIT 5');
header('Content-Type: application/json');
echo json_encode($rows, JSON_PRETTY_PRINT);