Linter fix

This commit is contained in:
Matej Bačo 2024-12-12 20:52:31 +01:00
parent 9c4d0f2a79
commit 04139d6901

View file

@ -210,7 +210,7 @@ App::post('/v1/functions')
->addHeader('X-RateLimit-Reset', $time);
$enabled = System::getEnv('_APP_OPTIONS_ABUSE', 'enabled') !== 'disabled';
if($enabled && $abuse->check()) {
if ($enabled && $abuse->check()) {
throw new Exception(Exception::GENERAL_RATE_LIMIT_EXCEEDED);
}
// End of temporary abuse check