mirror of
https://github.com/sun-guannan/CapCutAPI.git
synced 2025-11-25 03:15:00 +08:00
fix bug
This commit is contained in:
@@ -412,11 +412,8 @@ def add_text():
|
||||
return jsonify(result)
|
||||
|
||||
except Exception as e:
|
||||
if is_chinese:
|
||||
error_message = f"Error occurred while processing text: {str(e)}. You can click the link below for help: "
|
||||
else:
|
||||
error_message = f"Error occurred while processing text: {str(e)}. You can click the link below for help: "
|
||||
result["error"] = error_message + purchase_link
|
||||
result["error"] = error_message
|
||||
return jsonify(result)
|
||||
|
||||
@app.route('/add_image', methods=['POST'])
|
||||
|
||||
Reference in New Issue
Block a user