We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b80db7d commit 7161e70Copy full SHA for 7161e70
index.js
@@ -242,7 +242,9 @@ class S3Adapter {
242
await this.createBucket();
243
const command = new GetObjectCommand(params);
244
const data = await this._s3Client.send(command);
245
- if (data && !data.Body) { throw new Error('S3 object body is missing.'); }
+ if (data && !data.Body) {
246
+ throw new Error('S3 object body is missing.');
247
+ }
248
249
res.writeHead(206, {
250
'Accept-Ranges': data.AcceptRanges,
0 commit comments