Skip to content

Commit

Permalink
fix(handle-events): fix get documentId
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Sep 16, 2024
1 parent fae50af commit e8e209c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/lib/events/handle-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const controllerQueueEvents = async (change, context) => {
// processing
// e executo
// quando finalizar remove o docRun
const docQueue = await firestore().doc(docId).get()
const docQueue = await firestore().doc(documentId).get()
await docQueue.ref.update({
runDocId: documentId,
processingAt: now
Expand Down

0 comments on commit e8e209c

Please sign in to comment.