diff --git a/routers/point.py b/routers/point.py index beb7e10..04bce87 100644 --- a/routers/point.py +++ b/routers/point.py @@ -20,7 +20,7 @@ def dest_partition(s: str) -> int: @router.post("/") async def point(request: Request, items: DataModel): try: - uid = items.public.get('x02') + uid = items.public.get('x02') or items.public.get('#account_id') app_id = items.public.get('b01') or items.public.get('#app_id') for item in items.data: if 'track' == (item.get('#type') or item.get('b02')):