forked from CFC-Servers/cfc_chat_transit
Add temporary stub for realm key
This commit is contained in:
parent
c553331e05
commit
ba99a4e91d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user