Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#23681)
This commit is contained in:
@ -67,6 +67,6 @@ module RateLimitHeaders
|
||||
end
|
||||
|
||||
def reset_period_offset
|
||||
api_throttle_data[:period] - request_time.to_i % api_throttle_data[:period]
|
||||
api_throttle_data[:period] - (request_time.to_i % api_throttle_data[:period])
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user