Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Brose <[email protected]>
  • Loading branch information
HarHarLinks committed Aug 30, 2024
1 parent 50b5992 commit 3632708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stores/widgets/StopGapWidgetDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,9 @@ export class StopGapWidgetDriver extends WidgetDriver {
*/
public async downloadFile(contentUri: string): Promise<{ file: XMLHttpRequestBodyInit }> {
const client = MatrixClientPeg.safeGet();
const media = new Media({mxc: contentUri}, client);
const media = new Media({ mxc: contentUri }, client);
const response = await media.downloadSource();
const blob = await response.blob();
return { file: blob };
return { file: blob };
}
}

0 comments on commit 3632708

Please sign in to comment.