generated from nathanwoodburn/python-webserver-template
fix: String quotes error
All checks were successful
Build Docker / BuildImage (push) Successful in 29s
All checks were successful
Build Docker / BuildImage (push) Successful in 29s
This commit is contained in:
parent
859c88fb97
commit
bb03ec606b
@ -146,7 +146,7 @@ def renew_path(path: str):
|
|||||||
return jsonify({"error": "API error"}), 400
|
return jsonify({"error": "API error"}), 400
|
||||||
req = req.json()
|
req = req.json()
|
||||||
|
|
||||||
output = {"success": True,"message": f"Renewing {data["data"]}","output":req}
|
output = {"success": True,"message": f'Renewing {data["data"]}',"output":req}
|
||||||
# Send discord webhook
|
# Send discord webhook
|
||||||
webhook = os.getenv("DISCORD")
|
webhook = os.getenv("DISCORD")
|
||||||
if webhook:
|
if webhook:
|
||||||
|
Loading…
Reference in New Issue
Block a user