Hack to fix tests not passing. Unclear why the filters are being set to nil.

Both of these changes are needed or it doesn't work.
This commit is contained in:
Mark Felder 2021-01-14 17:49:37 -06:00
commit d0e0396528
2 changed files with 3 additions and 1 deletions

View file

@ -43,4 +43,6 @@ defmodule Pleroma.Upload.Filter do
error
end
end
def filter(nil, upload), do: filter([], upload)
end