forked from mystiq/hydrogen-web
Merge pull request #781 from vector-im/bwindels/fixlint-2022-7-4
fix lint
This commit is contained in:
commit
1aa2ff5c10
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue