mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 11:08:13 -05:00
parent
cd549e60c4
commit
b30dc4dcfc
@ -155,6 +155,9 @@ export async function removeFileFromS3InMain(configMap: IStringKeyMap, dogeMode:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
let result: any
|
let result: any
|
||||||
|
try {
|
||||||
|
fileKey = decodeURIComponent(fileKey)
|
||||||
|
} catch (err: any) {}
|
||||||
try {
|
try {
|
||||||
const client = new S3Client(s3Options)
|
const client = new S3Client(s3Options)
|
||||||
const command = new DeleteObjectCommand({
|
const command = new DeleteObjectCommand({
|
||||||
|
Loading…
Reference in New Issue
Block a user