summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--util/src/util/AutoUpdate.ts2
1 files changed, 1 insertions, 1 deletions
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);