This commit is contained in:
2025-09-26 10:18:02 -04:00
parent 24471ec47d
commit c74e4745e4

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()