Fix ap_url of Reshare
This commit is contained in:
parent
00b4f701d1
commit
ffe3dbcb33
@ -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…
x
Reference in New Issue
Block a user