Skip to content

Commit 4ca0ce2

Browse files
authored
fix: Add query to post request for account creation (#6989)
1 parent ab4cb01 commit 4ca0ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/http.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ pub(crate) async fn post_empty(context: &Context, url: &str) -> Result<(String,
343343
.authority()
344344
.context("URL has no authority")?
345345
.clone();
346-
let req = hyper::Request::post(parsed_url.path())
346+
let req = hyper::Request::post(parsed_url)
347347
.header(hyper::header::HOST, authority.as_str())
348348
.body(http_body_util::Empty::<Bytes>::new())?;
349349

0 commit comments

Comments
 (0)