We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6fc378 commit f80a3a6Copy full SHA for f80a3a6
api/bot.py
@@ -328,9 +328,7 @@ def check_domain():
328
logs = ChatLog.get_logs_by_bot_id(bot_id=bot_id)
329
user = User.get_by_userID(id=user_id)
330
sessionLimits = BillingPlan.query.filter_by(code=user.billing_plan).first().max_sessions_per_month
331
- # print(sessionLimits)
332
- # print(bot_id)
333
- if sessionLimits <= len(logs) and website != None:
+ if sessionLimits <= len(logs) and website != None:
334
if chat_log is None:
335
return error_response('Maximum session limit exceeded', 403, 'LIMIT_EXCEEDED')
336
0 commit comments