Remove unused var
authorRoman Chvanikov <chvanikoff@pm.me>
Tue, 28 Jan 2020 00:54:54 +0000 (03:54 +0300)
committerRoman Chvanikov <chvanikoff@pm.me>
Tue, 28 Jan 2020 00:54:54 +0000 (03:54 +0300)
lib/pleroma/workers/attachments_cleanup_worker.ex

index 23720ec56559fa990293d0b9a90af6cd7936486a..a738df90aac25bf64286f9b78724a962edcbcaa6 100644 (file)
@@ -15,7 +15,7 @@ defmodule Pleroma.Workers.AttachmentsCleanupWorker do
         %{
           "op" => "cleanup_attachments",
           "object" => %{"data" => %{"attachment" => [_ | _] = attachments, "actor" => actor}}
-        } = data,
+        },
         _job
       ) do
     hrefs =