Fix API error

This commit is contained in:
James Cole
2023-11-05 14:31:05 +01:00
parent c0cc896102
commit 998fed7782
5 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ class AppServiceProvider extends ServiceProvider
public function boot(): void
{
Schema::defaultStringLength(191);
Response::macro('api', static function (array $value) {
Response::macro('api', function (array $value) {
$headers = [
'Cache-Control' => 'no-store',
];