Merge branch 'master' of github.com:Plume-org/Plume

This commit is contained in:
Bat
2018-05-23 18:56:16 +01:00
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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 {