aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/core/modpack.rs
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-03-18 13:43:12 +0800
committerHsiangNianian <i@jyunko.cn>2026-03-18 13:43:12 +0800
commit1aeb0d1f5cf6c5c2492e749e3c25c3649b591c59 (patch)
treee8ee2b3af4e560e90472546ae581055f38d9533f /src-tauri/src/core/modpack.rs
parente8929b27444908b1f90b9ed3a4d52c5fd63fdf8c (diff)
downloadDropOut-1aeb0d1f5cf6c5c2492e749e3c25c3649b591c59.tar.gz
DropOut-1aeb0d1f5cf6c5c2492e749e3c25c3649b591c59.zip
fix(instance): InstanceManager -> InstanceState
Diffstat (limited to 'src-tauri/src/core/modpack.rs')
-rw-r--r--src-tauri/src/core/modpack.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/core/modpack.rs b/src-tauri/src/core/modpack.rs
index 97d2fa1..a580000 100644
--- a/src-tauri/src/core/modpack.rs
+++ b/src-tauri/src/core/modpack.rs
@@ -370,7 +370,7 @@ async fn cf_post(
) -> Result<serde_json::Value, String> {
let api_key = CURSEFORGE_API_KEY
.ok_or("CurseForge modpack support requires CURSEFORGE_API_KEY set at build time")?;
-
+
let resp = client
.post(format!("https://api.curseforge.com{endpoint}"))
.header("x-api-key", api_key)