renamed function name, overlapping with other func

This commit is contained in:
Justin 2023-07-11 19:14:55 +08:00 committed by GitHub
parent 712094d03d
commit 49867cd86a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: