Fix screenshot displaying issue
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
6370a37e5a
commit
426370bc62
@ -53,7 +53,7 @@ async function run() {
|
|||||||
let presignedUrl = await minioClient.presignedUrl('GET', minioBucket, `${doc.camera}/${doc._id}/${i}.jpg`, 60 * 60);
|
let presignedUrl = await minioClient.presignedUrl('GET', minioBucket, `${doc.camera}/${doc._id}/${i}.jpg`, 60 * 60);
|
||||||
screenShotArray.push({ url: presignedUrl });
|
screenShotArray.push({ url: presignedUrl });
|
||||||
}
|
}
|
||||||
blob = JSON.stringify({...doc, ...screenShotArray});
|
blob = JSON.stringify({...doc, screenshots: [...screenShotArray]});
|
||||||
} else {
|
} else {
|
||||||
blob = JSON.stringify({...doc})
|
blob = JSON.stringify({...doc})
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user