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:
|
* profile_picture:
|
||||||
* type: string
|
* type: string
|
||||||
* format: binary
|
* 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:
|
* responses:
|
||||||
* 201:
|
* 201:
|
||||||
* description: Mentor created successfully
|
* description: Mentor created successfully
|
||||||
@@ -363,7 +363,7 @@ router.get('/mentors/:id', verifyJWT, isAdmin, adminController.getMentorById);
|
|||||||
* profile_picture:
|
* profile_picture:
|
||||||
* type: string
|
* type: string
|
||||||
* format: binary
|
* 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:
|
* responses:
|
||||||
* 200:
|
* 200:
|
||||||
* description: Mentor updated successfully
|
* description: Mentor updated successfully
|
||||||
|
|||||||
Reference in New Issue
Block a user