diff options
Diffstat (limited to 'server/src/db/post.rs')
-rw-r--r-- | server/src/db/post.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/db/post.rs b/server/src/db/post.rs index ff3af55d..d12f98d8 100644 --- a/server/src/db/post.rs +++ b/server/src/db/post.rs @@ -75,7 +75,7 @@ impl Post { post.filter(ap_id.eq(object_id)).first::<Self>(conn) } - pub fn update_ap_id(conn: &PgConnection, post_id: i32, ap_id: &str) -> Result<Self, Error> { + pub fn update_ap_id(conn: &PgConnection, post_id: i32) -> Result<Self, Error> { use crate::schema::post::dsl::*; let apid = make_apub_endpoint(EndpointType::Post, &post_id.to_string()).to_string(); |