This commit is contained in:
Mel O'Hagan 2022-08-30 19:56:38 +01:00
parent ff5113f916
commit 00c76d7960
1 changed files with 7 additions and 7 deletions

View File

@ -131,7 +131,7 @@ module S3Module {
required: true, required: true,
}, },
}, },
} },
}, },
extra: { extra: {
acl: { acl: {
@ -244,13 +244,13 @@ module S3Module {
}) })
} }
async delete(query: { bucket: string, delete: string }) { async delete(query: { bucket: string; delete: string }) {
return await this.client return await this.client
.deleteObjects({ .deleteObjects({
Bucket: query.bucket, Bucket: query.bucket,
Delete: JSON.parse(query.delete), Delete: JSON.parse(query.delete),
}) })
.promise() .promise()
} }
} }