forked from AkkomaGang/akkoma
mastodon_api_controller.ex: Remove vanilla from supported_flavours
This commit is contained in:
parent
f1890d2cac
commit
aa9f52edd2
1 changed files with 2 additions and 1 deletions
|
@ -1456,7 +1456,8 @@ def put_settings(%{assigns: %{user: user}} = conn, %{"data" => settings} = _para
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@supported_flavours ["glitch", "vanilla"]
|
# Note: vanilla is fully unsupported
|
||||||
|
@supported_flavours ["glitch"]
|
||||||
|
|
||||||
def set_flavour(%{assigns: %{user: user}} = conn, %{"flavour" => flavour} = _params)
|
def set_flavour(%{assigns: %{user: user}} = conn, %{"flavour" => flavour} = _params)
|
||||||
when flavour in @supported_flavours do
|
when flavour in @supported_flavours do
|
||||||
|
|
Loading…
Reference in a new issue