1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 10:59:17 +00:00

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

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