mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 23:54:42 -04:00
fix(s3-backend): remove redundant parameter
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
baaa41b1e5
commit
e8d4fc692d
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export class S3Backend implements MediaBackend {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async deleteFile(fileName: string, _: BackendData): Promise<void> {
|
async deleteFile(fileName: string): Promise<void> {
|
||||||
try {
|
try {
|
||||||
await this.client.removeObject(this.config.bucket, fileName);
|
await this.client.removeObject(this.config.bucket, fileName);
|
||||||
const url = this.getUrl(fileName);
|
const url = this.getUrl(fileName);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue