Merge branch 'master' of github.com:Plume-org/Plume
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@ impl IntoId for Post {
|
||||
|
||||
impl Object for Post {
|
||||
fn compute_id(&self, conn: &PgConnection) -> String {
|
||||
ap_url(format!("{}/~/{}/{}", BASE_URL.as_str(), self.get_blog(conn).actor_id, self.slug))
|
||||
ap_url(format!("{}/~/{}/{}/", BASE_URL.as_str(), self.get_blog(conn).actor_id, self.slug))
|
||||
}
|
||||
|
||||
fn serialize(&self, conn: &PgConnection) -> serde_json::Value {
|
||||
|
||||
Reference in New Issue
Block a user