This commit is contained in:
2025-09-26 10:23:45 -04:00
parent c74e4745e4
commit 8da7bb8152

View File

@@ -1,4 +1,4 @@
from flask import Flask
from flask import Flask, request
app = Flask(__name__)
@@ -50,6 +50,7 @@ def home():
def convert(uuid):
webhook = UUID_TO_WEBHOOK_LOOKUP.get(uuid)
ghost_payload = request.get_json()
print(ghost_payload)
discord_payload = convert_ghost_to_discord(ghost_payload)
httpx.post(webhook, data=discord_payload)