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();