Fix screenshot displaying issue

wip
Léo Carpentier 12 months ago
parent 6370a37e5a
commit 426370bc62
  1. 2
      backend/server.js

@ -53,7 +53,7 @@ async function run() {
let presignedUrl = await minioClient.presignedUrl('GET', minioBucket, `${doc.camera}/${doc._id}/${i}.jpg`, 60 * 60);
screenShotArray.push({ url: presignedUrl });
}
blob = JSON.stringify({...doc, ...screenShotArray});
blob = JSON.stringify({...doc, screenshots: [...screenShotArray]});
} else {
blob = JSON.stringify({...doc})
};

Loading…
Cancel
Save