diff --git a/app/Helpers/ApiHelper.php b/app/Helpers/ApiHelper.php index cc5e91b..6c751fe 100644 --- a/app/Helpers/ApiHelper.php +++ b/app/Helpers/ApiHelper.php @@ -23,7 +23,7 @@ class ApiHelper { $api_quota = env('SETTING_ANON_API_QUOTA') ?: 5; } - if ($api_quota == -1) { + if ($api_quota < 0) { return false; }