Closed ingalls closed 1 year ago
TypeError: Cannot read properties of undefined (reading 'job')
--
at Job.delta (file:///home/openaddresses/api/lib/types/job.js:166:52)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///home/openaddresses/api/routes/job.js:112:27
Included in Bug Fix Branch
Context
I had a function named
fetch
that performed the fetch of the repo. With the addition of global fetch this resulted in the script failing after it attempted to perform API options with the expected global fetch .