Conditionally bump API version depending on quote post feature flag (#35939)

pull/35955/head
Claire 2 months ago committed by GitHub
parent 5f1e6a5886
commit 4ecbaea8bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -45,7 +45,7 @@ module Mastodon
def api_versions
{
mastodon: 6,
mastodon: Mastodon::Feature.outgoing_quotes_enabled? ? 7 : 6,
}
end

Loading…
Cancel
Save