Enforce poll limits and add error handling for MastodonAPI's post endpoint
authorrinpatch <rinpatch@sdf.org>
Tue, 21 May 2019 07:54:20 +0000 (10:54 +0300)
committerrinpatch <rinpatch@sdf.org>
Tue, 21 May 2019 07:54:20 +0000 (10:54 +0300)
commit3f96b3e4b8114ec1cf924d452907b17c2aea2003
tree7a5ba6649bb76cc4b5a81173cc636a0a41c86d60
parent76a7429befb2e9a819b653ff8328cc42a565c29d
Enforce poll limits and add error handling for MastodonAPI's post endpoint
lib/pleroma/web/common_api/utils.ex
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
test/web/mastodon_api/mastodon_api_controller_test.exs