Fixed issue with Tags timeline
• Fixed: - issue with Tags timeline and incorrect number of arguments due to removal of "local" attribute
This commit is contained in:
@@ -46,7 +46,7 @@ class Api::V1::Timelines::TagController < Api::BaseController
|
||||
end
|
||||
|
||||
def tag_timeline_statuses
|
||||
HashtagQueryService.new.call(@tag, params.slice(:any, :all, :none), current_account, truthy_param?(:local))
|
||||
HashtagQueryService.new.call(@tag, params.slice(:any, :all, :none), current_account)
|
||||
end
|
||||
|
||||
def insert_pagination_headers
|
||||
|
||||
@@ -27,7 +27,7 @@ class TagsController < ApplicationController
|
||||
end
|
||||
|
||||
format.json do
|
||||
@statuses = HashtagQueryService.new.call(@tag, params.slice(:any, :all, :none), current_account, params[:local]).paginate_by_max_id(PAGE_SIZE, params[:max_id])
|
||||
@statuses = HashtagQueryService.new.call(@tag, params.slice(:any, :all, :none), current_account).paginate_by_max_id(PAGE_SIZE, params[:max_id])
|
||||
@statuses = cache_collection(@statuses, Status)
|
||||
|
||||
render json: collection_presenter,
|
||||
|
||||
Reference in New Issue
Block a user