Skip to content

Commit 4753c9a

Browse files
committed
fix the rate limit output in the check to be a ratio
1 parent 33b5470 commit 4753c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/ruby/find-inactive-members/find_inactive_members.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def check_scopes
4242
end
4343

4444
def check_rate_limit
45-
info "Rate limit: #{client.rate_limit}\n"
45+
info "Rate limit: #{@client.rate_limit.remaining}/#{@client.rate_limit.limit}\n"
4646
end
4747

4848
def env_help

0 commit comments

Comments
 (0)