From 96dccece151a8ebbf9e0a327152e6e2cd326f7a7 Mon Sep 17 00:00:00 2001 From: Luke Ogburn <21106956+logburn@users.noreply.github.com> Date: Tue, 28 Apr 2026 09:53:37 -0400 Subject: [PATCH] remove file check --- routes/attachmentRoutes.js | 1 - 1 file changed, 1 deletion(-) diff --git a/routes/attachmentRoutes.js b/routes/attachmentRoutes.js index 69c1336c..9cb28514 100644 --- a/routes/attachmentRoutes.js +++ b/routes/attachmentRoutes.js @@ -520,7 +520,6 @@ class Attachment { logger.log(1, 'uploadAttachmentToS3', `Attempting to upload attachment for expense ${req.params.expenseId}`); // compute method upload(req, res, async (err) => { - req.file.originalname = Buffer.from(req.file.originalname, 'latin1').toString('utf8'); if (err) { // log error logger.log(1, 'uploadAttachmentToS3', 'Failed to upload file(s)');