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-01 01:57:19 +0200
commit6f2b5acc39112459c45d326bd3cd7cf6f19f5220 (patch)
tree36918588a3ac3cc84a3a3e04a5abbd681d4f6f5e /rel
parent963d0522bbf6e8b1a77ec8dd93aeac9e9d152341 (diff)
downloadpleroma-6f2b5acc39112459c45d326bd3cd7cf6f19f5220.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