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:
parent
0b725f5d21
commit
d0e0396528
2 changed files with 3 additions and 1 deletions
|
|
@ -43,4 +43,6 @@ defmodule Pleroma.Upload.Filter do
|
|||
error
|
||||
end
|
||||
end
|
||||
|
||||
def filter(nil, upload), do: filter([], upload)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue