This commit is contained in:
2025-09-26 10:16:01 -04:00
parent 6d773eac1e
commit 24471ec47d

View File

@@ -46,7 +46,7 @@ def home():
return "This is a silly web util that converts the Ghost webhook payloads to Discord payloads" return "This is a silly web util that converts the Ghost webhook payloads to Discord payloads"
@app.route("/hook/:uuid", methods=["POST"]) @app.route("/hook/<uuid", methods=["POST"])
def convert(uuid): def convert(uuid):
webhook = UUID_TO_WEBHOOK_LOOKUP.get(uuid) webhook = UUID_TO_WEBHOOK_LOOKUP.get(uuid)
ghost_payload = request.get_json() ghost_payload = request.get_json()