Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#23681)

This commit is contained in:
Nick Schonning
2023-02-17 22:30:23 -05:00
committed by GitHub
parent e2567df860
commit a6f77aa28a
7 changed files with 16 additions and 27 deletions

View File

@ -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