From f529e803ef6455961c4e8f63ddfd453f16c0091e Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 9 Jan 2022 01:58:39 +0900 Subject: [PATCH] Fix ap_url of Reshare --- plume-models/src/reshares.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-models/src/reshares.rs b/plume-models/src/reshares.rs index 175b2c0b..2162475b 100644 --- a/plume-models/src/reshares.rs +++ b/plume-models/src/reshares.rs @@ -191,7 +191,7 @@ impl AsObject for Reshare { impl NewReshare { 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 { post_id: p.id, user_id: u.id,