aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/maps.ex
AgeCommit message (Collapse)Author
2020-06-05Create Pleroma.Maps.put_if_present(map, key, value, value_fun // &{:ok, &1})Haelwenn
Unifies all the similar functions to one and simplify some blocks with it.