-修改ServerChanPush2TelegramBot.py:增加到队列时为200

This commit is contained in:
yshtcn 2023-09-06 23:26:54 +08:00
parent 663b7689e4
commit 9f393f3bc9

View File

@ -228,7 +228,7 @@ def index():
'url': url
})
write_pending_messages(pending_messages)
return jsonify({"error": "Failed to send message, added to pending list"}), 400
return jsonify({"error": "Failed to send message, added to pending list"}), 200
if __name__ == "__main__":
app.run(host='0.0.0.0', port=5000)