fix: correzione upload allegati da app

This commit is contained in:
Matteo 2024-11-11 15:22:37 +01:00
parent ce334f1a35
commit 657f3e3559
1 changed files with 0 additions and 3 deletions

View File

@ -105,9 +105,6 @@ class AllegatiInterventi extends AppResource
'id_record' => $data['id_intervento'], 'id_record' => $data['id_intervento'],
], $data['nome'], $data['categoria']); ], $data['nome'], $data['categoria']);
// Chiusura e rimozione del file temporaneo
delete($file);
return [ return [
'id' => $upload->id, 'id' => $upload->id,
'tipo' => $upload->extension, 'tipo' => $upload->extension,