From 70e8a6877cac46088a80eda0a6e38d9c0eca2540 Mon Sep 17 00:00:00 2001 From: RustamRu Date: Tue, 4 Mar 2025 19:04:38 +0300 Subject: [PATCH] change car img size limit --- server/routers/dry-wash/order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routers/dry-wash/order.js b/server/routers/dry-wash/order.js index f8aa9a6..62eaef5 100644 --- a/server/routers/dry-wash/order.js +++ b/server/routers/dry-wash/order.js @@ -30,7 +30,7 @@ const isValidOrderStatus = (value) => Object.values(orderStatus).includes(value) const isValidOrderNotes = (value) => value.length < 500 const allowedMimeTypes = ['image/jpeg', 'image/png'] -const sizeLimitInMegaBytes = 5 +const sizeLimitInMegaBytes = 15 const VALIDATION_MESSAGES = { order: {