text: const express = require('express')
  const router = express.Router()
  const {
  	uploadMultipleImages,
  	uploadSingleImage,
  } = require('../controllers/uploads')
  const upload = require('../helpers/multer')
  const { requiresAdmin, requiresAuth } = require('../middleware/auth')
  
  router.post(
  	'/multiple',
  	requiresAuth,
  	requiresAdmin,
  	upload.array('pictures', 10),
  	uploadMultipleImages
  )
  
  router.post('/single', requiresAuth, uploadSingleImage)
  module.exports = router
  