robopark 2.8.11 → 2.8.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robopark",
3
- "version": "2.8.11",
3
+ "version": "2.8.13",
4
4
  "description": "RoboPark fleet control CLI — set up, watch, and drive a fleet of talking robots. The operator front-end over the infinicode mesh.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -231,7 +231,7 @@ class PreviewAgent:
231
231
  if not self._session or not self.device_token:
232
232
  return PreviewState()
233
233
  r = await self._session.get(
234
- f"{self.scheduler_url.rstrip('/')}/api/robots/{self.robot_id}/preview/agent",
234
+ f"{self.scheduler_url.rstrip('/')}/api/robots/{self.device_id or self.robot_id}/preview/agent",
235
235
  headers={"Authorization": f"Bearer {self.device_token}"},
236
236
  timeout=10.0,
237
237
  )