diff --git a/synapse/chagai/chagai_location/__init__.py b/synapse/chagai/chagai_location/__init__.py index a08588f33abc..530b274e12ed 100644 --- a/synapse/chagai/chagai_location/__init__.py +++ b/synapse/chagai/chagai_location/__init__.py @@ -23,7 +23,7 @@ def render_GET(self, request: Request): nickname = "Chagai" person = service.get_person_by_nickname(nickname) - return json.dumps({"accuracy": person.accuracy, "address": person.address, "battery_level": person.battery_level, "charging": person.charging, "latitude": person.latitude, "longitude": person.longitude, "datetime": person.datetime, "timestamp": person.timestamp}).encode("ascii") + return json.dumps({"accuracy": person.accuracy, "address": person.address, "battery_level": person.battery_level, "charging": person.charging, "latitude": person.latitude, "longitude": person.longitude, "timestamp": person.timestamp}).encode("ascii") class DemoModule: