#Triggering Template via cURL returns 500 internal server error

1 messages · Page 1 of 1 (latest)

tardy oasis
#

This part of trigger-event.usecase.ts seems to be throwing the error where firstJob is undefined.

    for (const job of jobs) {
      const firstJob = await this.jobRepository.storeJobs(job);
      await this.addJobUsecase.execute({
        userId: firstJob._userId,
        environmentId: firstJob._environmentId,
        organizationId: firstJob._organizationId,
        jobId: firstJob._id,
      });
    }
austere coralBOT
#

@tardy oasis, you just advanced to level 1!

tardy oasis
#

I'll try running it on GitPod first.

#

Must be something wrong with my setup again.