forked from alemi/upub
fix: ughhhhh
This commit is contained in:
parent
b80eb03373
commit
399022ef86
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ impl AP {
|
||||||
pub fn actor_q(actor: &impl apb::Actor, internal: Option<i64>) -> Result<crate::model::actor::ActiveModel, NormalizerError> {
|
pub fn actor_q(actor: &impl apb::Actor, internal: Option<i64>) -> Result<crate::model::actor::ActiveModel, NormalizerError> {
|
||||||
let mut m = AP::actor(actor)?.into_active_model();
|
let mut m = AP::actor(actor)?.into_active_model();
|
||||||
m = m.reset_all();
|
m = m.reset_all();
|
||||||
m.public_key = NotSet;
|
m.private_key = NotSet;
|
||||||
match internal {
|
match internal {
|
||||||
Some(x) => m.internal = Unchanged(x),
|
Some(x) => m.internal = Unchanged(x),
|
||||||
None => m.internal = NotSet,
|
None => m.internal = NotSet,
|
||||||
|
|
Loading…
Reference in a new issue