mirror of
https://github.com/versia-pub/activitypub.git
synced 2026-03-13 10:59:17 +01:00
fix: formatting & DB
This commit is contained in:
parent
2ffc66f412
commit
5949bb9bf3
5 changed files with 69 additions and 11 deletions
|
|
@ -5,7 +5,8 @@ use crate::{
|
|||
},
|
||||
database::{State, StateHandle},
|
||||
entities::{self, user},
|
||||
error::Error, API_DOMAIN,
|
||||
error::Error,
|
||||
API_DOMAIN,
|
||||
};
|
||||
use activitypub_federation::{
|
||||
config::Data,
|
||||
|
|
@ -227,7 +228,8 @@ impl Actor for user::Model {
|
|||
"https://{}/apbridge/user/{}",
|
||||
API_DOMAIN.to_string(),
|
||||
&self.id
|
||||
)).unwrap()
|
||||
))
|
||||
.unwrap()
|
||||
}
|
||||
|
||||
fn public_key_pem(&self) -> &str {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue