increase api limit for platinum
This commit is contained in:
@@ -613,7 +613,7 @@ class User < ActiveRecord::Base
|
|||||||
|
|
||||||
def api_hourly_limit(idempotent = true)
|
def api_hourly_limit(idempotent = true)
|
||||||
base = if is_platinum? && api_key.present?
|
base = if is_platinum? && api_key.present?
|
||||||
2000
|
5000
|
||||||
elsif is_gold? && api_key.present?
|
elsif is_gold? && api_key.present?
|
||||||
1000
|
1000
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user