forked from mirrors/LibreTranslate
Fix limits
This commit is contained in:
parent
b05c04346e
commit
cdff45efe6
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def get_req_limits(default_limit, api_keys_db, multiplier = 1):
|
|||
if api_key:
|
||||
db_req_limit = api_keys_db.lookup(api_key)
|
||||
if db_req_limit is not None:
|
||||
req_limit = db_req_limit
|
||||
req_limit = db_req_limit * multiplier
|
||||
|
||||
return req_limit
|
||||
|
||||
|
|
Loading…
Reference in a new issue