瀏覽代碼

mastodon_api_controller.ex: Remove vanilla from supported_flavours

tags/v1.1.4
Haelwenn (lanodan) Monnier 5 年之前
父節點
當前提交
aa9f52edd2
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: D5B7A8E43C997DEE
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      lib/pleroma/web/mastodon_api/mastodon_api_controller.ex

+ 2
- 1
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex 查看文件

@@ -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…
取消
儲存