fix(cli): log about work done

This commit is contained in:
əlemi 2024-12-26 23:17:17 +01:00
parent 30169ed621
commit a29e16633a
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -58,6 +58,7 @@ pub async fn fix_activities(ctx: upub::Context, likes: bool, announces: bool) ->
.one(ctx.db())
.await?
{
tracing::info!("joining like {} to activity {}", like.internal, activity.id);
let mut active = like.into_active_model();
active.activity = sea_orm::Set(Some(activity.internal));
active.update(ctx.db()).await?;