]> Untitled Git - lemmy.git/commit
Empty post bodies (#2050)
authorDessalines <dessalines@users.noreply.github.com>
Fri, 21 Jan 2022 13:38:01 +0000 (08:38 -0500)
committerGitHub <noreply@github.com>
Fri, 21 Jan 2022 13:38:01 +0000 (13:38 +0000)
commit16271b0a4c88fd8341ac53e6c0750989e822e339
tree5552238a06d04aecce7737daa194e21b3d1625d0
parentf23fed70bc347913a35bcc56cb825b4a2b449ccb
Empty post bodies (#2050)

* Cleaning optional post bodies. Fixes #2039

* Only trim once.

* Using .map() instead.

* Revert "Using .map() instead."

This reverts commit a2f49072095e0c0622c4a7d041dcea81e11fe1dc.
crates/utils/src/utils.rs