fix: error message kapasitas upload profile picture mentor

This commit is contained in:
Muhammad Zhafran Ilham
2026-06-25 23:08:27 +07:00
parent 786f2530f1
commit d6f6be0d84
+2 -2
View File
@@ -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