antenna-openclaw-plugin 1.3.42 → 1.3.43
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/index.ts +2 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -478,6 +478,8 @@ export default function register(api: any) {
|
|
|
478
478
|
});
|
|
479
479
|
|
|
480
480
|
if (error) return ok({ error: error.message });
|
|
481
|
+
if (data?.error) return ok({ error: data.message || data.error });
|
|
482
|
+
if (data?.device_id) deviceId = data.device_id;
|
|
481
483
|
|
|
482
484
|
// Read back profile to get slug for public page link
|
|
483
485
|
let publicUrl = null;
|