From 4db8161c70c7e2413372b57d96c835056399f19a Mon Sep 17 00:00:00 2001 From: Aldarien Date: Sat, 26 Mar 2022 20:55:57 -0300 Subject: [PATCH] FIX: withJson requires 2nd parameter --- api/common/Controller/Consolidados.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/common/Controller/Consolidados.php b/api/common/Controller/Consolidados.php index dfff5c8..5940570 100644 --- a/api/common/Controller/Consolidados.php +++ b/api/common/Controller/Consolidados.php @@ -48,6 +48,6 @@ class Consolidados { error_log($e); throw $e; } - return $this->withJson($response); + return $this->withJson($response, []); } }