Fix getMisisngTranscriptionVoicemails

Meant whereNull, not whereNotNull.
This commit is contained in:
Matt Low 2021-03-13 15:08:14 -07:00
parent 30d95657cf
commit 2668f4d814

View File

@ -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.