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
98732a5c06
commit
b5c9c2b9e6
|
|
@ -72,13 +72,14 @@ async fn main() -> actix_web::Result<(), anyhow::Error> {
|
|||
let keypair = generate_actor_keypair()?;
|
||||
|
||||
let user = entities::user::ActiveModel {
|
||||
id: Set(ap_id.into()),
|
||||
id: Set(ap_id.clone().into()),
|
||||
username: Set(username),
|
||||
name: Set("Test account <3".to_string()),
|
||||
inbox: Set(inbox.to_string()),
|
||||
public_key: Set(keypair.public_key.clone()),
|
||||
private_key: Set(Some(keypair.private_key.clone())),
|
||||
last_refreshed_at: Set(chrono::offset::Utc::now()),
|
||||
url: Set(ap_id.to_string()),
|
||||
local: Set(true),
|
||||
..Default::default()
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue