From 0688416425eab717a7d19081dadc7922e3b21887 Mon Sep 17 00:00:00 2001 From: FabianLars Date: Sat, 3 Feb 2024 20:23:09 +0100 Subject: [PATCH] lint --- plugins/upload/guest-js/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/upload/guest-js/index.ts b/plugins/upload/guest-js/index.ts index 732b9508..02ec75fa 100644 --- a/plugins/upload/guest-js/index.ts +++ b/plugins/upload/guest-js/index.ts @@ -3,7 +3,6 @@ // SPDX-License-Identifier: MIT import { invoke, Channel } from "@tauri-apps/api/core"; -import { getCurrent } from "@tauri-apps/api/window"; interface ProgressPayload { progress: number; @@ -16,7 +15,7 @@ async function upload( url: string, filePath: string, progressHandler?: ProgressHandler, - headers?: Map + headers?: Map, ): Promise { const ids = new Uint32Array(1); window.crypto.getRandomValues(ids); @@ -44,7 +43,7 @@ async function download( url: string, filePath: string, progressHandler?: ProgressHandler, - headers?: Map + headers?: Map, ): Promise { const ids = new Uint32Array(1); window.crypto.getRandomValues(ids);