mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 15:05:45 +00:00
mastodon_api_controller.ex: Remove vanilla from supported_flavours
This commit is contained in:
parent
f1890d2cac
commit
aa9f52edd2
|
@ -1456,7 +1456,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
||||||
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