diff --git a/application/api/files/download.js b/application/api/files/download.js index 58a4c993..6b87665b 100644 --- a/application/api/files/download.js +++ b/application/api/files/download.js @@ -8,5 +8,5 @@ async ({ name, type }) => { const writable = context.client.createStream(name, size); // Pipe nodejs readable to metacom writable readable.pipe(writable); - return { streamId: writable.streamId, type }; + return { streamId: writable.id, type }; };