allnet: fix placeid formatting

This commit is contained in:
Hay1tsme 2024-01-22 14:47:36 -05:00
parent 8d416d7633
commit 5c9570d421

View File

@ -212,7 +212,7 @@ class AllnetServlet:
country = AllnetCountryCode.JAPAN.value country = AllnetCountryCode.JAPAN.value
resp.country = country resp.country = country
resp.place_id = arcade["id"] resp.place_id = f"{arcade['id']:04X}"
resp.allnet_id = machine["id"] resp.allnet_id = machine["id"]
resp.name = arcade["name"] if arcade["name"] is not None else "" resp.name = arcade["name"] if arcade["name"] is not None else ""
resp.nickname = arcade["nickname"] if arcade["nickname"] is not None else "" resp.nickname = arcade["nickname"] if arcade["nickname"] is not None else ""