Complete a slash to Post Create activity's ID
This commit is contained in:
parent
ca6cd534d8
commit
0cbc9438d4
@ -413,7 +413,7 @@ impl Post {
|
|||||||
let article = self.to_activity(conn)?;
|
let article = self.to_activity(conn)?;
|
||||||
let mut act = Create::default();
|
let mut act = Create::default();
|
||||||
act.object_props
|
act.object_props
|
||||||
.set_id_string(format!("{}activity", self.ap_url))?;
|
.set_id_string(format!("{}/activity", self.ap_url))?;
|
||||||
act.object_props
|
act.object_props
|
||||||
.set_to_link_vec::<Id>(article.object.object_props.to_link_vec()?)?;
|
.set_to_link_vec::<Id>(article.object.object_props.to_link_vec()?)?;
|
||||||
act.object_props
|
act.object_props
|
||||||
|
Loading…
Reference in New Issue
Block a user