mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fix lint
This commit is contained in:
parent
751dfa66a8
commit
34ce8a8e3c
@ -30,7 +30,6 @@ export function addCacheBuster(urlStr, random = Math.random) {
|
|||||||
export function mapAsFormData(map) {
|
export function mapAsFormData(map) {
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
for (const [name, value] of map) {
|
for (const [name, value] of map) {
|
||||||
let filename;
|
|
||||||
// Special case {name: string, blob: BlobHandle} to set a filename.
|
// Special case {name: string, blob: BlobHandle} to set a filename.
|
||||||
// This is the format returned by platform.openFile
|
// This is the format returned by platform.openFile
|
||||||
if (value.blob?.nativeBlob && value.name) {
|
if (value.blob?.nativeBlob && value.name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user