aboutsummaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-05-31 10:41:31 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-06-03 19:11:17 +0200
commit11844084d0fce0bd94df66561c47ef21b7b38e1d (patch)
tree6f69a92db2616c2cc69e0253fd5a71ff81bdba4c /rel
parent24d66b60a0272ef4e78f2f9802682964059c44ce (diff)
downloadpleroma-11844084d0fce0bd94df66561c47ef21b7b38e1d.tar.gz
MIME.valid?(type) → is_bitstring(type) && MIME.extensions(type) != []
Since mime 1.6.0: warning: MIME.valid?/1 is deprecated. Use MIME.extensions(type) != [] instead As for the bitstring(type) part it's because MIME.extensions only expects a string. https://github.com/elixir-plug/mime/issues/43
Diffstat (limited to 'rel')
0 files changed, 0 insertions, 0 deletions