Usama Khan

Results 1 comments of Usama Khan

``` res.attachment(fileKey); const fileStream = await s3.getObject(options).createReadStream(); fileStream.on('error', (e) => { //sends error res }); fileStream.pipe(res); ``` Won't this work? This works for me but once in a blue moon...