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
parent 497788a3cc
commit 977c2d0448
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

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])
) )