infinicode 2.8.11 → 2.8.12
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
|
@@ -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
|
)
|