Update application/controllers/Api.php

Co-authored-by: Florian (DF2ET) <github@florian-wolters.de>
This commit is contained in:
Joerg (DJ7NT)
2026-01-08 12:22:27 +01:00
committed by GitHub
parent 8979ed4c0c
commit b3f60219af

View File

@@ -42,7 +42,7 @@ class API extends CI_Controller {
$result = $this->rate_limit->check($endpoint, $identifier);
if (!$result['allowed']) {
log_message("Debug","Rate limit for ".$endpoint." and ID:".($identifier ?? '')." exceeded");
log_message("Debug","Rate limit for endpoint ".$endpoint." and ID: ".($identifier ?? '')." exceeded");
$this->rate_limit->send_limit_exceeded_response($result['retry_after']);
return false;
}