forked from alemi/upub
fix: dont overwrite context when updating
This commit is contained in:
parent
ab1ca489be
commit
38e45c11d4
1 changed files with 1 additions and 0 deletions
|
@ -304,6 +304,7 @@ pub async fn update(ctx: &crate::Context, activity: impl apb::Activity, tx: &Dat
|
|||
.await?
|
||||
.ok_or(ProcessorError::Incomplete)?;
|
||||
let mut object_model = crate::AP::object_q(&object_node, Some(internal_oid))?;
|
||||
object_model.context = NotSet; // TODO dont overwrite context when updating!!
|
||||
object_model.updated = Set(chrono::Utc::now());
|
||||
object_model.update(tx).await?;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue