Browse Source

mastodon_api_controller.ex: Remove vanilla from supported_flavours

tags/v1.1.4
Haelwenn (lanodan) Monnier 5 years ago
parent
commit
aa9f52edd2
No known key found for this signature in database GPG Key ID: D5B7A8E43C997DEE
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/pleroma/web/mastodon_api/mastodon_api_controller.ex

+ 2
- 1
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex View File

@@ -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


Loading…
Cancel
Save