Skip to content

Commit

Permalink
error fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rwolf2467 committed Nov 24, 2024
1 parent 704f06f commit 43de2a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def app():
async def check_message():
data = await request.get_json()
message = data["message"]
results = check_chatfilter(message, badwords, goodwords)
cid = 123
sid = 123
results = check_chatfilter(input_str=message, badwords=badwords, goodwords=goodwords, cid=cid, sid=sid)
return jsonify(results)

@app.route("/user", methods=["POST"])
Expand Down

0 comments on commit 43de2a3

Please sign in to comment.