diff --git a/core/startos/src/registry/admin.rs b/core/startos/src/registry/admin.rs index 7cb734d8c..e994b5c53 100644 --- a/core/startos/src/registry/admin.rs +++ b/core/startos/src/registry/admin.rs @@ -78,7 +78,7 @@ async fn do_upload( let req = httpc .post(url) .header(header::ACCEPT, "text/plain") - .query(&["id", pkg_id]) + .query(&[("id", pkg_id)]) .basic_auth(user, Some(pass)) .body(body) .build()?;