fix: error message kapasitas upload profile picture mentor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user