mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 10:53:37 +00:00
tight param for api macro
This commit is contained in:
@@ -47,7 +47,7 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
URL::forceScheme('https');
|
URL::forceScheme('https');
|
||||||
}
|
}
|
||||||
|
|
||||||
Response::macro('api', function ($value) {
|
Response::macro('api', function (array $value) {
|
||||||
$headers = [
|
$headers = [
|
||||||
'Cache-Control' => 'no-store'
|
'Cache-Control' => 'no-store'
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user