Fix getMisisngTranscriptionVoicemails
Meant whereNull, not whereNotNull.
This commit is contained in:
		@ -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.
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user