From b5c9c2b9e66c4dac98db28f626a19c6437b71de6 Mon Sep 17 00:00:00 2001 From: aprilthepink Date: Thu, 18 Apr 2024 19:05:22 +0200 Subject: [PATCH] awa --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 57f0cf2..85a846f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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() };