mirror of
https://github.com/yshtcn/ServerChanPush2TelegramBot.git
synced 2026-01-29 01:51:58 +08:00
测试代码返回增加了待发送条数
This commit is contained in:
@@ -217,7 +217,9 @@ def index():
|
|||||||
if TestStatus is None:
|
if TestStatus is None:
|
||||||
return jsonify({"error": error_list}), 400
|
return jsonify({"error": error_list}), 400
|
||||||
else:
|
else:
|
||||||
return jsonify({"ok": "the test passed"}), 200
|
pending_messages = read_pending_messages()
|
||||||
|
pending_count = len(pending_messages)
|
||||||
|
return jsonify({"ok": "the test passed", "pending_messages_count": pending_count}), 200
|
||||||
|
|
||||||
pending_messages = read_pending_messages()
|
pending_messages = read_pending_messages()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user