1
0
Fork 0
forked from alemi/upub

fix: ughhhhh

This commit is contained in:
əlemi 2024-06-22 03:51:01 +02:00
parent b80eb03373
commit 399022ef86
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -341,7 +341,7 @@ impl AP {
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();
m = m.reset_all();
m.public_key = NotSet;
m.private_key = NotSet;
match internal {
Some(x) => m.internal = Unchanged(x),
None => m.internal = NotSet,