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.