mastodon_api_controller.ex: Remove vanilla from supported_flavours

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-06-01 01:37:11 +02:00
parent f1890d2cac
commit aa9f52edd2
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
1 changed files with 2 additions and 1 deletions

View File

@ -1456,7 +1456,8 @@ def put_settings(%{assigns: %{user: user}} = conn, %{"data" => settings} = _para
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