mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Removing API limits for self host
This commit is contained in:
parent
3556871fa9
commit
a1f5bef661
@ -188,6 +188,10 @@ Route::filter('api.access', function()
|
|||||||
return Response::make('Invalid token', 403, $headers);
|
return Response::make('Invalid token', 403, $headers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!Utils::isNinja()) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if (!Utils::isPro()) {
|
if (!Utils::isPro()) {
|
||||||
return Response::make('API requires pro plan', 403, $headers);
|
return Response::make('API requires pro plan', 403, $headers);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user