mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix type for query params (#2611)
This commit is contained in:
@@ -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()?;
|
||||
|
||||
Reference in New Issue
Block a user