]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/http/user.rs
Use Url type for ap_id fields in database (fixes #1364)
[lemmy.git] / crates / apub / src / http / user.rs
index 3005b8b59bccc3e6608b26372636281334e203a7..7c7653e575e9be4869a15f972b1db2475000fc50 100644 (file)
@@ -72,7 +72,7 @@ pub async fn get_apub_user_inbox(
 
   let mut collection = OrderedCollection::new();
   collection
-    .set_id(format!("{}/inbox", user.actor_id).parse()?)
+    .set_id(format!("{}/inbox", user.actor_id.into_inner()).parse()?)
     .set_many_contexts(lemmy_context()?);
   Ok(create_apub_response(&collection))
 }