fix(cli): dont filter by date coz unreliable...
This commit is contained in:
parent
ddb12cb6ea
commit
a6494e8068
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ pub async fn fix_activities(ctx: upub::Context, likes: bool, announces: bool) ->
|
||||||
if let Some(like) = upub::model::like::Entity::find()
|
if let Some(like) = upub::model::like::Entity::find()
|
||||||
.filter(upub::model::like::Column::Object.eq(internal_oid))
|
.filter(upub::model::like::Column::Object.eq(internal_oid))
|
||||||
.filter(upub::model::like::Column::Actor.eq(internal_uid))
|
.filter(upub::model::like::Column::Actor.eq(internal_uid))
|
||||||
.filter(upub::model::like::Column::Published.eq(activity.published))
|
// .filter(upub::model::like::Column::Published.eq(activity.published))
|
||||||
.one(ctx.db())
|
.one(ctx.db())
|
||||||
.await?
|
.await?
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue