checking dimensions of the images

This commit is contained in:
Arjun Patel
2019-04-09 03:27:28 -07:00
parent 3539f7aef9
commit 750dbbc96e
4 changed files with 30 additions and 3 deletions
+5 -1
View File
@@ -16,7 +16,11 @@ const {
router.post('/', organization.createOrganization);
// Charity upload profile pic
router.post('/profilepic', image.uploadProfilePic);
router.post(
'/profilepic',
checkAuth(roles.ORGANIZATION),
image.uploadProfilePic
);
// GET Activate org's stripe connected account
router.get('/stripe/connect', stripe.activateStripeAccount);