From 92cefff2128792017c1e2e4f4bf0024105a650f5 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Mon, 13 Jan 2025 21:08:15 +0100 Subject: [PATCH] fix --- src/routes/push.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/push.rs b/src/routes/push.rs index 79edcd2..0881e76 100644 --- a/src/routes/push.rs +++ b/src/routes/push.rs @@ -70,7 +70,7 @@ pub async fn upload_pkg( let arch = pkg_info .iter() - .find(|x| x.0 == "pkgname") + .find(|x| x.0 == "arch") .ok_or_else(|| api_error("Package has no arch"))? .1 .as_str();