Skip to content
Snippets Groups Projects
Unverified Commit 699db454 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix pinned statuses API returning pagination headers (#11526)

Fix #10227
parent 898dacf8
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,8 @@
class Api::V1::Accounts::StatusesController < Api::BaseController
before_action -> { authorize_if_got_token! :read, :'read:statuses' }
before_action :set_account
after_action :insert_pagination_headers
after_action :insert_pagination_headers, unless: -> { truthy_param?(:pinned) }
respond_to :json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment