add more debugging to getProjectAsset

This commit is contained in:
Cassie Tarakajian 2017-11-27 15:43:58 -05:00
parent 3b33f3acca
commit 286c725407

View file

@ -144,6 +144,7 @@ export function getProjectAsset(req, res) {
return res.status(404).send({ message: 'Project with that id does not exist' }); return res.status(404).send({ message: 'Project with that id does not exist' });
} }
if (!project) { if (!project) {
console.error(req.url);
console.error(req.params.project_id); console.error(req.params.project_id);
return res.status(404).send({ message: 'Project with that id does not exist' }); return res.status(404).send({ message: 'Project with that id does not exist' });
} }