mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
awa?
This commit is contained in:
parent
bbb613f6de
commit
42c9c19509
|
|
@ -231,7 +231,7 @@ pub async fn lysand_url_to_user_and_model(
|
|||
let data = FEDERATION_CONFIG.get().unwrap();
|
||||
|
||||
let opt_model = prelude::User::find()
|
||||
.filter(user::Column::Url.eq(url.as_str()))
|
||||
.filter(user::Column::Url.eq(url.to_string()))
|
||||
.one(db)
|
||||
.await?;
|
||||
let target;
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@ async fn main() -> actix_web::Result<(), anyhow::Error> {
|
|||
dotenv().ok();
|
||||
env_logger::init_from_env(env_logger::Env::new().default_filter_or("info"));
|
||||
|
||||
let uuid = Uuid::now_v7();
|
||||
let uuid = Uuid::parse_str("019116ea-3bf6-7ba3-b437-2cd7aaf40f80")?;
|
||||
|
||||
let ap_id = Url::parse(&format!(
|
||||
"https://{}/apbridge/user/{}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue