refactor(domain): remove public_key/private_key from User model — managed by federation adapter
This commit is contained in:
@@ -15,8 +15,6 @@ pub struct User {
|
||||
pub local: bool,
|
||||
pub ap_id: Option<String>,
|
||||
pub inbox_url: Option<String>,
|
||||
pub public_key: Option<String>,
|
||||
pub private_key: Option<String>,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub updated_at: DateTime<Utc>,
|
||||
}
|
||||
@@ -42,8 +40,6 @@ impl User {
|
||||
local: true,
|
||||
ap_id: None,
|
||||
inbox_url: None,
|
||||
public_key: None,
|
||||
private_key: None,
|
||||
created_at: now,
|
||||
updated_at: now,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user