diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2019-09-06 21:50:00 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-09-06 21:50:00 +0300 |
commit | ab2f21e470f349f783f895f26da3041afcc3d73e (patch) | |
tree | e086b2568f448aa497955f4bd66a20dee0f6ea93 /lib/pleroma/web/twitter_api | |
parent | 130bc8e0d553eb918685edf2b1fdab7e69021446 (diff) | |
download | pleroma-ab2f21e470f349f783f895f26da3041afcc3d73e.tar.gz |
tests for mastodon_api_controller.ex
Diffstat (limited to 'lib/pleroma/web/twitter_api')
-rw-r--r-- | lib/pleroma/web/twitter_api/twitter_api.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 8eda762c7..bfd838902 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -29,7 +29,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do captcha_enabled = Pleroma.Config.get([Pleroma.Captcha, :enabled]) # true if captcha is disabled or enabled and valid, false otherwise captcha_ok = - if !captcha_enabled do + if not captcha_enabled do :ok else Pleroma.Captcha.validate( |