mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Conditionally bump API version depending on quote post feature flag (#35939)
This commit is contained in:
parent
5f1e6a5886
commit
4ecbaea8bb
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ module Mastodon
|
|||
|
||||
def api_versions
|
||||
{
|
||||
mastodon: 6,
|
||||
mastodon: Mastodon::Feature.outgoing_quotes_enabled? ? 7 : 6,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue