From 98f9c5bf8e12a144cb66143c6a2e22665086aceb Mon Sep 17 00:00:00 2001 From: Alie Date: Sun, 31 Dec 2023 12:01:21 +0100 Subject: [PATCH] deleted a console log --- src/controllers/ImageController.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controllers/ImageController.ts b/src/controllers/ImageController.ts index 8c78e99..75fca37 100644 --- a/src/controllers/ImageController.ts +++ b/src/controllers/ImageController.ts @@ -8,7 +8,6 @@ class ImageController { const images = await imageService.findAll(); res.json({ images }); } catch (error) { - console.error(error); res.status(500).json({ error: "Internal Server Error" }); } }