From 32c3dad71e80f0f1832e86e1d466df32775ae08d Mon Sep 17 00:00:00 2001 From: aprilthepink Date: Sat, 3 Aug 2024 07:18:45 +0200 Subject: [PATCH] baaaa --- src/lysand/http.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lysand/http.rs b/src/lysand/http.rs index 7e3d281..0e28ef6 100644 --- a/src/lysand/http.rs +++ b/src/lysand/http.rs @@ -215,7 +215,10 @@ pub async fn lysand_url_to_user(url: Url) -> anyhow::Result::from(url) + .dereference(&data.to_request_data()) + .await + .unwrap(); } Ok(lysand_user_from_db(target).await?) @@ -235,7 +238,7 @@ pub async fn lysand_url_to_user_and_model( if let Some(model) = opt_model { target = model; } else { - target = db_user_from_url(url).await?; + target = db_user_from_url(url.clone()).await?; } Ok((lysand_user_from_db(target.clone()).await?, target))