mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
fix: local regression
replace my hard coded thinking Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
@@ -168,7 +168,7 @@ async function getObjectStream(key) {
|
||||
}
|
||||
|
||||
async function ping() {
|
||||
await s3.send(new HeadBucketCommand({ Bucket: DEFAULT_BUCKET }));
|
||||
await s3Public.send(new HeadBucketCommand({ Bucket: DEFAULT_BUCKET }));
|
||||
}
|
||||
|
||||
module.exports = { uploadFile, deleteFile, getSignedDownloadUrl, getObjectStream, ping };
|
||||
Reference in New Issue
Block a user