Fix getMisisngTranscriptionVoicemails
Meant whereNull, not whereNotNull.
This commit is contained in:
parent
30d95657cf
commit
2668f4d814
@ -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