Fix undefined method error (#10868)

master
Hinaloe 2019-05-28 21:31:51 +09:00 committed by multiple creatures
parent 911be126f6
commit 641bc18f29
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Rack::Attack
end
throttle('throttle_unauthenticated_paging', limit: 300, period: 15.minutes) do |req|
req.remote_ip if req.paging_request? && !req.authenticated?
req.remote_ip if req.paging_request? && req.unauthenticated?
end
API_DELETE_REBLOG_REGEX = /\A\/api\/v1\/statuses\/[\d]+\/unreblog/.freeze