Skip to content

Commit d0f8a06

Browse files
samvimes01tshemsedinov
authored andcommitted
Fix metacom file download
1 parent 7ce99bd commit d0f8a06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/api/files/download.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ async ({ name, type }) => {
88
const writable = context.client.createStream(name, size);
99
// Pipe nodejs readable to metacom writable
1010
readable.pipe(writable);
11-
return { streamId: writable.streamId, type };
11+
return { streamId: writable.id, type };
1212
};

0 commit comments

Comments
 (0)