From 2873fa67dc71d5b6dc2971da14435202c5877072 Mon Sep 17 00:00:00 2001 From: Maicol Battistini Date: Tue, 1 Feb 2022 16:40:47 +0100 Subject: [PATCH] =?UTF-8?q?perf:=20=E2=9A=A1=20Migliorato=20inserimento=20?= =?UTF-8?q?`UserSchema`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/JsonApi/V1/Server.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/JsonApi/V1/Server.php b/app/JsonApi/V1/Server.php index 33138dd97..eac8ead81 100644 --- a/app/JsonApi/V1/Server.php +++ b/app/JsonApi/V1/Server.php @@ -30,9 +30,8 @@ class Server extends BaseServer ->getModules() ->pluck('config.api.schemas') ->reject(null) - ->merge([ - UserSchema::class, - ])->all(); + ->push(UserSchema::class) + ->all(); } /**