mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Linter fix
This commit is contained in:
parent
9c4d0f2a79
commit
04139d6901
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue