From 08dd078a7172822f909c4c22dc399b2650750bec Mon Sep 17 00:00:00 2001 From: Matteo Date: Thu, 7 Mar 2024 16:11:45 +0100 Subject: [PATCH] Fix minori --- src/API/App/v1/Impianti.php | 2 -- src/API/App/v1/SessioniInterventi.php | 1 - update/2_4_55.sql | 4 ++-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/API/App/v1/Impianti.php b/src/API/App/v1/Impianti.php index 70740e212..478895759 100755 --- a/src/API/App/v1/Impianti.php +++ b/src/API/App/v1/Impianti.php @@ -44,8 +44,6 @@ class Impianti extends AppResource ->where('zz_operations.created_at', '>', $last_sync_at) ->pluck('id_record') ->toArray(); - - return []; } public function getModifiedRecords($last_sync_at) diff --git a/src/API/App/v1/SessioniInterventi.php b/src/API/App/v1/SessioniInterventi.php index 9c5825199..ab732b08a 100644 --- a/src/API/App/v1/SessioniInterventi.php +++ b/src/API/App/v1/SessioniInterventi.php @@ -46,7 +46,6 @@ class SessioniInterventi extends AppResource ->pluck('zz_operations.id_record') ->toArray(); - return []; } public function getModifiedRecords($last_sync_at) diff --git a/update/2_4_55.sql b/update/2_4_55.sql index 97db19237..a233e18c4 100644 --- a/update/2_4_55.sql +++ b/update/2_4_55.sql @@ -1937,8 +1937,8 @@ DELETE FROM `zz_modules` WHERE `id` = (SELECT `id_record` FROM `zz_modules_lang` DELETE FROM `zz_modules_lang` WHERE `name` = 'Voci di servizio'; ======= -- Api per campi personalizzati -INSERT INTO `zz_api_resources` (`id`, `version`, `type`, `resource`, `class`, `enabled`) VALUES (NULL, 'app-v1', 'retrieve', 'campi_personalizzati', 'API\\App\\v1\\CampiPersonalizzati', '1', NULL, NULL); -INSERT INTO `zz_api_resources` (`id`, `version`, `type`, `resource`, `class`, `enabled`) VALUES (NULL, 'app-v1', 'retrieve', 'campi-personalizzati-cleanup', 'API\\App\\v1\\CampiPersonalizzati', '1', NULL, NULL); +INSERT INTO `zz_api_resources` (`id`, `version`, `type`, `resource`, `class`, `enabled`) VALUES (NULL, 'app-v1', 'retrieve', 'campi_personalizzati', 'API\\App\\v1\\CampiPersonalizzati', '1'); +INSERT INTO `zz_api_resources` (`id`, `version`, `type`, `resource`, `class`, `enabled`) VALUES (NULL, 'app-v1', 'retrieve', 'campi-personalizzati-cleanup', 'API\\App\\v1\\CampiPersonalizzati', '1'); INSERT INTO `zz_api_resources` (`id`, `version`, `type`, `resource`, `class`, `enabled`) VALUES (NULL, 'app-v1', 'retrieve', 'campi-personalizzati-valori', 'API\\App\\v1\\CampiPersonalizzatiValori', 1),