Fix Quest download filename and simplify fetch

This commit is contained in:
Holden
2026-06-27 13:08:41 -05:00
parent 1a44042784
commit ca9a739e09
5 changed files with 13 additions and 19 deletions

View File

@@ -1,8 +1,7 @@
---
import { getLatestDownloads } from "$lib/downloads";
const latestDownloads = await getLatestDownloads();
const downloads = latestDownloads.success ? latestDownloads.data : [];
const downloads = await getLatestDownloads();
const defaultDownload = downloads[0];
---