From 0cbc9438d450a10742116c22478c9762a1b3ea50 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 9 Jan 2022 04:59:12 +0900 Subject: [PATCH] Complete a slash to Post Create activity's ID --- plume-models/src/posts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-models/src/posts.rs b/plume-models/src/posts.rs index b7742054..b6d915bf 100644 --- a/plume-models/src/posts.rs +++ b/plume-models/src/posts.rs @@ -413,7 +413,7 @@ impl Post { let article = self.to_activity(conn)?; let mut act = Create::default(); act.object_props - .set_id_string(format!("{}activity", self.ap_url))?; + .set_id_string(format!("{}/activity", self.ap_url))?; act.object_props .set_to_link_vec::(article.object.object_props.to_link_vec()?)?; act.object_props