@knowlearning/agents 0.9.172 → 0.9.173
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/agents/generic/index.js +1 -1
- package/package.json +1 -1
package/agents/generic/index.js
CHANGED
|
@@ -131,7 +131,7 @@ export default function Agent({ Connection, domain, token, sid, uuid, fetch, app
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
async function metadata(id=DEFAULT_SCOPE_NAME, user, domain) {
|
|
134
|
-
const md = structuredClone(await state(id, user).metadata)
|
|
134
|
+
const md = structuredClone(await state(id, user, domain).metadata)
|
|
135
135
|
delete md.active
|
|
136
136
|
return new PatchProxy(md, patch => {
|
|
137
137
|
const activePatch = structuredClone(patch)
|