mirror of
https://github.com/mastodon/mastodon.git
synced 2026-10-23 20:57:38 -05:00
Bump Mastodon REST API version to 12 (#40833)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -45,7 +45,7 @@ module Mastodon
|
||||
|
||||
def api_versions
|
||||
{
|
||||
mastodon: 11,
|
||||
mastodon: 12,
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user