Fix getMisisngTranscriptionVoicemails
Meant whereNull, not whereNotNull.
This commit is contained in:
parent
1d4b0cbac3
commit
ac30269c81
@ -296,7 +296,7 @@ export function ticketize(
|
|||||||
*/
|
*/
|
||||||
async function getMissingTranscriptionVoicemails() {
|
async function getMissingTranscriptionVoicemails() {
|
||||||
return await db("voicemails")
|
return await db("voicemails")
|
||||||
.whereNotNull("transcription")
|
.whereNull("transcription")
|
||||||
.whereNotIn("transcriptionStatus", [
|
.whereNotIn("transcriptionStatus", [
|
||||||
// Don't include those whose transcriptions have failed or will not
|
// Don't include those whose transcriptions have failed or will not
|
||||||
// be completed.
|
// be completed.
|
||||||
|
Loading…
Reference in New Issue
Block a user