Add temporary stub for realm key

This commit is contained in:
Brandon Sturgeon 2023-09-20 21:43:08 -07:00
parent c553331e05
commit ba99a4e91d
No known key found for this signature in database
GPG Key ID: D2B85AB23C6D80C2

View File

@ -13,7 +13,7 @@ base_url = os.getenv("AVATAR_SERVICE_URL")
@app.route("/outline", methods=["POST"])
def outline() -> str:
content = request.json
realm = content["realm"]
realm = content.get("realm", "cfc3")
steam_id = content["steamID"]
avatar_path = f"/avatars/{realm}/{steam_id}.png"