Fix all warnings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-11-12 23:30:47 +01:00
parent a04dfc5293
commit 2939485321
27 changed files with 93 additions and 142 deletions

View File

@@ -23,7 +23,7 @@ defmodule MobilizonWeb.Uploaders.Category do
end
# Override the persisted filenames:
def filename(version, {file, %{title: title}}) do
def filename(version, {_file, %{title: title}}) do
"#{title}_#{version}"
end