"Error: Queue does not exist" when queue-ing task in Firebase Functions
I have got one functions that triggers on db update: exports.eventAddedTrigger = functions .region('europe-west6') .firestore .document('users/{user_id}/events/{event_id}') .onCreate(async (snap, context) => { const event = snap.data(); if (event) { const { user_id, event_id } = context.params; const queue = getFunctions().taskQueue('enrol'); const…