Remove double slashes

pull/998/head
Kitaiti Makoto 2 years ago
parent 62dbd1153c
commit 19b3cc6020

@ -165,8 +165,7 @@ impl AsObject<User, activity::Undo, &DbConn> for Like {
impl NewLike {
pub fn new(p: &Post, u: &User) -> Self {
// TODO: this URL is not valid
let ap_url = format!("{}/like/{}", u.ap_url, p.ap_url);
let ap_url = format!("{}like/{}", u.ap_url, p.ap_url);
NewLike {
post_id: p.id,
user_id: u.id,

Loading…
Cancel
Save