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

Function handleUserPictureUpload

controllers/users.js:564–569  ·  view source on GitHub ↗
(req, res)

Source from the content-addressed store, hash-verified

562};
563
564const handleUserPictureUpload = async (req, res) => {
565 if (req.body.type === "application") {
566 return postApplicationUserPicture(req, res);
567 }
568 return postUserPicture(req, res);
569};
570
571const postApplicationUserPicture = async (req, res) => {
572 const { file } = req;

Callers

nothing calls this directly

Calls 2

postUserPictureFunction · 0.85

Tested by

no test coverage detected