little clean up
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 3 Sep 2020 16:02:22 +0000 (19:02 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 10 Sep 2020 18:50:41 +0000 (21:50 +0300)
lib/pleroma/workers/purge_expired_activity.ex

index c70587b47f041f02baf8a81e9cbd8b16d2c02046..4be1461949fd056b439aa5808433fefd251ede08 100644 (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