Skip to content

Commit 64475c4

Browse files
committed
fix typo in webhook event query
1 parent c9d5a90 commit 64475c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/src/webhooks/transcription.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const transcription = functions.https.onRequest(async (req, res) => {
1818
// look for an event (aka Hearing) in the DB with a matching ID.
1919
const maybeEventsInDb = await db
2020
.collection("events")
21-
.where("videoAssemblyId", "==", transcript.id)
21+
.where("videoTranscriptionId", "==", transcript.id)
2222
.get()
2323

2424
if (maybeEventsInDb.docs.length) {

0 commit comments

Comments
 (0)