Bump Mastodon REST API version to 12 (#40833)

This commit is contained in:
Claire
2026-10-05 07:00:39 +00:00
committed by GitHub
parent 79f21a2073
commit c4f7e05cbf
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ class Api::V1::Timelines::HomeController < Api::V1::Timelines::BaseController
before_action -> { doorkeeper_authorize! :read, :'read:statuses' }
before_action :require_user!
PERMITTED_PARAMS = %i(local limit).freeze
PERMITTED_PARAMS = %i(local limit exclude_direct exclude_reblogs exclude_quotes exclude_replies).freeze
def show
with_read_replica do

View File

@@ -45,7 +45,7 @@ module Mastodon
def api_versions
{
mastodon: 11,
mastodon: 12,
}
end