From ac30269c81f29e0e02d081a3133ba9d553008544 Mon Sep 17 00:00:00 2001 From: Matt Low Date: Sat, 13 Mar 2021 15:08:14 -0700 Subject: [PATCH] Fix getMisisngTranscriptionVoicemails Meant whereNull, not whereNotNull. --- src/ticketize.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ticketize.ts b/src/ticketize.ts index 3ab5314..f9671cc 100644 --- a/src/ticketize.ts +++ b/src/ticketize.ts @@ -296,7 +296,7 @@ export function ticketize( */ async function getMissingTranscriptionVoicemails() { return await db("voicemails") - .whereNotNull("transcription") + .whereNull("transcription") .whereNotIn("transcriptionStatus", [ // Don't include those whose transcriptions have failed or will not // be completed.