Last analyzed ee686a6 3 months ago
Default analysis branch is
Currently analyzing run
Found the usage of undeclared variables JS-0125
Bug risk
3 months ago3 months old
'ProjectService' is not defined
 6  async create(req, res, next) {
 7    try {
 8      const { projectId } = req.params;
 9      const { owner } = await ProjectService.getOne(projectId);10      const submission = await SubmissionService.create({ ...req.body, project: projectId });
11      await UserService.updateQuota(owner, -1);
12      return res.json(submission).status(200);