Fix ap_url of Reshare
This commit is contained in:
parent
e5bc84badf
commit
f529e803ef
@ -191,7 +191,7 @@ impl AsObject<User, Undo, &DbConn> for Reshare {
|
|||||||
|
|
||||||
impl NewReshare {
|
impl NewReshare {
|
||||||
pub fn new(p: &Post, u: &User) -> Self {
|
pub fn new(p: &Post, u: &User) -> Self {
|
||||||
let ap_url = format!("{}/reshare/{}", u.ap_url, p.ap_url);
|
let ap_url = format!("{}reshare/{}", u.ap_url, p.ap_url);
|
||||||
NewReshare {
|
NewReshare {
|
||||||
post_id: p.id,
|
post_id: p.id,
|
||||||
user_id: u.id,
|
user_id: u.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user