Skip to content

Commit

Permalink
fix type for query params (#2611)
Browse files Browse the repository at this point in the history
  • Loading branch information
elvece authored Apr 23, 2024
1 parent e9c9a67 commit df777c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/startos/src/registry/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;
Expand Down

0 comments on commit df777c6

Please sign in to comment.