fix: local regression

replace my hard coded thinking

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-06-22 11:09:43 +08:00
parent 3aeb217907
commit 358fecb510
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 };