little clean up

This commit is contained in:
Alexander Strizhakov 2020-09-03 19:02:22 +03:00 committed by rinpatch
parent 6f2d114518
commit b3485a6dbf

View file

@ -23,7 +23,7 @@ defmodule Pleroma.Workers.PurgeExpiredActivity do
{scheduled_at, args} = Map.pop(args, :expires_at)
args
|> __MODULE__.new(scheduled_at: scheduled_at)
|> new(scheduled_at: scheduled_at)
|> Oban.insert()
end
end