From 4ccae56210bfc5e0c0a0b863cac02596674ab5a0 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 18 Jul 2022 21:56:07 +0200 Subject: Update packages --- util/src/util/AutoUpdate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/src') diff --git a/util/src/util/AutoUpdate.ts b/util/src/util/AutoUpdate.ts index 6a594fd5..62ce8d79 100644 --- a/util/src/util/AutoUpdate.ts +++ b/util/src/util/AutoUpdate.ts @@ -76,7 +76,7 @@ async function getLatestVersion(url: string) { try { const agent = new ProxyAgent(); const response = await fetch(url, { agent }); - const content = await response.json(); + const content: any = await response.json(); return content.version; } catch (error) { throw new Error("[Auto update] check failed for " + url); -- cgit 1.5.1