diff --git a/packages/server/modules/blobstorage/index.js b/packages/server/modules/blobstorage/index.js index 300406e03..4caf017de 100644 --- a/packages/server/modules/blobstorage/index.js +++ b/packages/server/modules/blobstorage/index.js @@ -182,7 +182,7 @@ exports.init = async (app) => { } const bq = await getAllStreamBlobIds({ streamId: req.params.streamId }) - const unknownBlobIds = req.body.filter( + const unknownBlobIds = [...req.body].filter( (id) => bq.findIndex((bInfo) => bInfo.id === id) === -1 ) res.send(unknownBlobIds)