mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-19 03:16:49 +02:00
Set JSON resources without wrapping
This commit is contained in:
parent
a2c67d1558
commit
f22f389487
@ -5,6 +5,7 @@ namespace App\Providers;
|
||||
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 @@ class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
Blade::withoutComponentTags();
|
||||
Schema::defaultStringLength(191);
|
||||
JsonResource::withoutWrapping();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user