remove validate_expires_at from enqueue method

This commit is contained in:
Alexander Strizhakov 2020-09-08 15:11:18 +03:00 committed by rinpatch
commit 15aece7238
4 changed files with 30 additions and 31 deletions

View file

@ -17,8 +17,7 @@ defmodule Pleroma.Repo.Migrations.MoveActivityExpirationsToOban do
with {:ok, expires_at} <- DateTime.from_naive(expiration.scheduled_at, "Etc/UTC") do
Pleroma.Workers.PurgeExpiredActivity.enqueue(%{
activity_id: FlakeId.to_string(expiration.activity_id),
expires_at: expires_at,
validate: false
expires_at: expires_at
})
end
end)