0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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