tasks/pleroma/instance.ex: Change :upload_dir to :uploads_dir

Closes: https://git.pleroma.social/pleroma/pleroma/issues/1058
This commit is contained in:
Haelwenn (lanodan) Monnier 2019-07-05 06:19:27 +02:00 committed by Ariadne Conill
parent d2c3c64da5
commit f270e33208

View File

@ -149,7 +149,7 @@ defmodule Mix.Tasks.Pleroma.Instance do
uploads_dir = uploads_dir =
get_option( get_option(
options, options,
:upload_dir, :uploads_dir,
"What directory should media uploads go in (when using the local uploader)?", "What directory should media uploads go in (when using the local uploader)?",
Pleroma.Config.get([Pleroma.Uploaders.Local, :uploads]) Pleroma.Config.get([Pleroma.Uploaders.Local, :uploads])
) )