fix: formatting & DB

This commit is contained in:
April John 2024-07-27 16:24:04 +02:00
parent 2ffc66f412
commit 5949bb9bf3
Signed by: aprl
GPG key ID: BCB934A2909C5460
5 changed files with 69 additions and 11 deletions

View file

@ -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 {