Skip to content

Commit

Permalink
Fix 'Cannot read properties of null (reading 'length')' error from ex…
Browse files Browse the repository at this point in the history
…port
  • Loading branch information
RatreeOchn committed Jul 25, 2024
1 parent 5f15d7e commit 061a6f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jobs/arbimon-recording-export-job/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ async function writeChunk (results, targetFile, isFirstChunk) {

async function downloadTemplateAudio (results) {
return new Promise(async function (resolve, reject) {
if (!results) resolve()
console.log('--template length', results.length)
for (let result of results) {
console.log('--template data', result)
Expand Down

0 comments on commit 061a6f3

Please sign in to comment.