From: Roman Chvanikov Date: Tue, 28 Jan 2020 13:38:44 +0000 (+0300) Subject: Fix __MODULE__ usage X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7f78bd7e376b3f1c9d6bbf1420d7c324b4508beb;p=akkoma Fix __MODULE__ usage --- diff --git a/lib/pleroma/workers/attachments_cleanup_worker.ex b/lib/pleroma/workers/attachments_cleanup_worker.ex index a738df90a..ce6998a54 100644 --- a/lib/pleroma/workers/attachments_cleanup_worker.ex +++ b/lib/pleroma/workers/attachments_cleanup_worker.ex @@ -73,7 +73,7 @@ defmodule Pleroma.Workers.AttachmentsCleanupWorker do _ -> "" end - base_url = Pleroma.Config.get([__MODULE__, :base_url], Pleroma.Web.base_url()) + base_url = Pleroma.Config.get([Pleroma.Upload, :base_url], Pleroma.Web.base_url()) file_path = String.trim_leading(href, "#{base_url}/#{prefix}")