mirror of
https://github.com/yshtcn/ServerChanPush2TelegramBot.git
synced 2025-12-11 16:50:22 +08:00
测试代码返回增加了待发送条数
This commit is contained in:
parent
c82fb1871d
commit
3055b585cc
@ -217,7 +217,9 @@ def index():
|
||||
if TestStatus is None:
|
||||
return jsonify({"error": error_list}), 400
|
||||
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()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user