increase api limit for platinum

This commit is contained in:
Albert Yi
2016-10-19 13:00:36 -07:00
parent af55e6cf8a
commit 25028f0c7f

View File

@@ -613,7 +613,7 @@ class User < ActiveRecord::Base
def api_hourly_limit(idempotent = true)
base = if is_platinum? && api_key.present?
2000
5000
elsif is_gold? && api_key.present?
1000
else