From 757fa541d8b5ce874a0a223a50a287b87fe1f38f Mon Sep 17 00:00:00 2001 From: evenegas Date: Fri, 16 Jan 2026 15:08:30 -0600 Subject: [PATCH] ya no es necesario eliminar archivo --- src/drive/drive.service.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/drive/drive.service.ts b/src/drive/drive.service.ts index fe24d4e..4d2dc4f 100644 --- a/src/drive/drive.service.ts +++ b/src/drive/drive.service.ts @@ -65,9 +65,8 @@ export class DriveService { try { return await drive.files.delete({ fileId }); } catch (err) { - throw new InternalServerErrorException( - 'Error al eliminar archivo: ' + err.message, - ); + console.error('Error al eliminar archivo de Drive:', err.message); + return 0; } }