From be959d181d8bcc61e910999fe45ed161f2b65415 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Wed, 29 Jul 2020 10:03:06 +0200 Subject: [PATCH] Aggiunta data di creazione per gli allegati via API --- src/API/App/v1/AllegatiInterventi.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/API/App/v1/AllegatiInterventi.php b/src/API/App/v1/AllegatiInterventi.php index 41dec54b0..7cba09834 100644 --- a/src/API/App/v1/AllegatiInterventi.php +++ b/src/API/App/v1/AllegatiInterventi.php @@ -63,6 +63,7 @@ class AllegatiInterventi extends AppResource 'categoria' => $upload->category, 'size' => $upload->size, 'id_intervento' => $upload->id_record, + 'data_creazione' => $upload->created_at, ]; return $record;