diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-06-01 01:37:11 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-06-01 01:44:10 +0200 |
commit | aa9f52edd2ff8fa9dc6008c94717a1399f54dfb8 (patch) | |
tree | a05d7ea3bb91e89ad1f0b6f8b58e28242cb5b099 /lib | |
parent | f1890d2cacfa09dd22b06a8d041c04dbeba9e138 (diff) | |
download | pleroma-aa9f52edd2ff8fa9dc6008c94717a1399f54dfb8.tar.gz |
mastodon_api_controller.ex: Remove vanilla from supported_flavours
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/mastodon_api_controller.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 2110027c3..526581363 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -1456,7 +1456,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do end end - @supported_flavours ["glitch", "vanilla"] + # Note: vanilla is fully unsupported + @supported_flavours ["glitch"] def set_flavour(%{assigns: %{user: user}} = conn, %{"flavour" => flavour} = _params) when flavour in @supported_flavours do |