From d9156db841510229e99a0ff11258475d27532221 Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Thu, 30 Jul 2026 08:27:44 +0800 Subject: [PATCH] fix: correct 'recieve' to 'receive' typo in Flask route function Fixes the typo in the Flask route function name at app.py:70. The function `recieve()` is renamed to `receive()` for correct spelling. The URL route `/api/get//` is unchanged. Reported in The-Turing-Machine/Clippy#2 --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index b2221fc..0c02d9c 100644 --- a/app.py +++ b/app.py @@ -67,7 +67,7 @@ def status(): return jsonify({'status':'ok'}) @app.route("/api/get//" , methods=['GET']) -def recieve(user): +def receive(user): global json_data try: return jsonify(json_data[user])