Fix apidev stats
This commit is contained in:
parent
107acfb155
commit
61b92c347e
|
@ -302,7 +302,7 @@ module DiscordInteractions
|
|||
end
|
||||
end
|
||||
|
||||
stats = APIKey.stats(ip: ip, key: key)
|
||||
stats = APIKey.stats(ip: ip, key: apikey)
|
||||
if key.present?
|
||||
stats = flatten_hash(stats[:key])
|
||||
text = "Stats for **#{apikey.application_name}** (||#{apikey.key}||)\n\n"
|
||||
|
|
Loading…
Reference in New Issue
Block a user