From d6f6be0d846a1f6edbc6f0d45db8c8336088c8e8 Mon Sep 17 00:00:00 2001 From: Muhammad Zhafran Ilham Date: Thu, 25 Jun 2026 23:08:27 +0700 Subject: [PATCH] fix: error message kapasitas upload profile picture mentor --- src/routes/admin.routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/admin.routes.js b/src/routes/admin.routes.js index 3ae8d32..235532b 100755 --- a/src/routes/admin.routes.js +++ b/src/routes/admin.routes.js @@ -224,7 +224,7 @@ router.get("/get", verifyJWT, adminController.getAdmins); * profile_picture: * type: string * format: binary - * description: Optional mentor profile picture. Allowed types are JPEG, JPG, PNG, and WEBP. Max size 5MB. + * description: Optional mentor profile picture. Allowed types are JPEG, JPG, PNG, and WEBP. Max size 2MB. * responses: * 201: * description: Mentor created successfully @@ -363,7 +363,7 @@ router.get('/mentors/:id', verifyJWT, isAdmin, adminController.getMentorById); * profile_picture: * type: string * format: binary - * description: Optional new mentor profile picture. Allowed types are JPEG, JPG, PNG, and WEBP. Max size 5MB. + * description: Optional new mentor profile picture. Allowed types are JPEG, JPG, PNG, and WEBP. Max size 2MB. * responses: * 200: * description: Mentor updated successfully