MCPcopy Create free account
hub / github.com/RealDevSquad/website-backend / upload

Function upload

utils/cloudinary.js:6–9  ·  view source on GitHub ↗
(file, options = {})

Source from the content-addressed store, hash-verified

4cloudinary.config(config.get("cloudinary"));
5
6const upload = async (file, options = {}) => {
7 const response = await cloudinary.uploader.upload(file, options);
8 return response;
9};
10
11module.exports = {
12 upload,

Callers 2

uploadProfilePictureFunction · 0.85
uploadBadgeImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected