From 49867cd86a4baa16a0ad494075d3408d285963b2 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 11 Jul 2023 19:14:55 +0800 Subject: [PATCH] renamed function name, overlapping with other func --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 5d8884a..d017c22 100755 --- a/server.py +++ b/server.py @@ -1516,8 +1516,8 @@ def setTop20or10(): -@app.route("/deletePortfolioSettings", methods=["POST"]) -def deletePortfolioSettings(): +@app.route("/deletePortfolioPosition", methods=["POST"]) +def deletePortfolioPosition(): value = request.data.decode('utf-8') value2 = json.loads(value) try: