This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
brief-04-back/controllers/ImageController.js
2024-04-17 16:55:04 +02:00

22 lines
367 B
JavaScript

//TODO Logged user, size limit, format type
async function addNewImage(req, res) {
}
//TODO Admin user
async function GetAllImages(req, res) {
}
//TODO Logged and non logged
async function getImage(req, res) {
}
//TODO Owner user and admin user
async function deleteImage(req, res) {
}
module.exports = {
addNewImage,
GetAllImages,
getImage,
deleteImage
}