mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-02-21 09:06:17 +00:00
Fix AP Article ID
This commit is contained in:
parent
81acc96e64
commit
0105132382
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ impl 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 {
|
||||
|
|
Loading…
Reference in a new issue