Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#23681)
This commit is contained in:
parent
e2567df860
commit
a6f77aa28a
7 changed files with 16 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue