forked from Hay1tsme/artemis
allnet: fix placeid formatting
This commit is contained in:
parent
8d416d7633
commit
5c9570d421
@ -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 ""
|
||||||
|
Loading…
Reference in New Issue
Block a user