|
@@ -22,8 +22,8 @@ def api_webhook_messages():
|
|
|
print(json.loads(request.data))
|
|
|
my_info = json.loads(request.data)
|
|
|
account_id = my_info["account_id"]
|
|
|
- start_date = my_info["start_time"]
|
|
|
- end_date = my_info["end_time"]
|
|
|
+ start_date = my_info["start_date"]
|
|
|
+ end_date = my_info["end_date"]
|
|
|
date_type = my_info["date_type"]
|
|
|
AccountReport().handler(date_type, account_id, start_date, end_date)
|
|
|
|