mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-03-30 18:26:14 +02:00
Set JSON resources without wrapping
This commit is contained in:
parent
a2c67d1558
commit
f22f389487
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user