Ratelimiter database call fix

main
Yasen Pramatarov 2025-01-06 11:31:07 +02:00
parent b314cdd14d
commit bc5ae76534
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ try {
// Initialize RateLimiter
require_once '../app/classes/ratelimiter.php';
$rateLimiter = new RateLimiter($dbWeb);
$rateLimiter = new RateLimiter($dbWeb['db']);
if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
try {