perf: Migliorato inserimento `UserSchema`

This commit is contained in:
Maicol Battistini 2022-02-01 16:40:47 +01:00
parent d60e3e7ead
commit 2873fa67dc
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A
1 changed files with 2 additions and 3 deletions

View File

@ -30,9 +30,8 @@ class Server extends BaseServer
->getModules()
->pluck('config.api.schemas')
->reject(null)
->merge([
UserSchema::class,
])->all();
->push(UserSchema::class)
->all();
}
/**