diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 408698ce..ef5239da 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -5,6 +5,7 @@ use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; +use Illuminate\Http\Resources\Json\JsonResource; class AppServiceProvider extends ServiceProvider @@ -28,5 +29,6 @@ public function boot() { Blade::withoutComponentTags(); Schema::defaultStringLength(191); + JsonResource::withoutWrapping(); } }