fix: Add query to post request for account creation (#6989)

This commit is contained in:
Sebastian Klähn
2025-07-09 20:17:17 +02:00
committed by GitHub
parent ab4cb01065
commit 4ca0ce2fb2

View File

@@ -343,7 +343,7 @@ pub(crate) async fn post_empty(context: &Context, url: &str) -> Result<(String,
.authority()
.context("URL has no authority")?
.clone();
let req = hyper::Request::post(parsed_url.path())
let req = hyper::Request::post(parsed_url)
.header(hyper::header::HOST, authority.as_str())
.body(http_body_util::Empty::<Bytes>::new())?;