Simplify the signature of activity_pub::sign::Signer::get_key_id

This commit is contained in:
Bat
2018-06-21 16:25:32 +01:00
parent 2621c0304e
commit 7ddad12420
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ impl APActor for Blog {
}
impl sign::Signer for Blog {
fn get_key_id(&self, _conn: &PgConnection) -> String {
fn get_key_id(&self) -> String {
format!("{}#main-key", self.ap_url)
}
+1 -1
View File
@@ -452,7 +452,7 @@ impl Inbox for User {
}
impl Signer for User {
fn get_key_id(&self, _conn: &PgConnection) -> String {
fn get_key_id(&self) -> String {
format!("{}#main-key", self.ap_url)
}