@xuda.io/ai_module 1.1.3727 → 1.1.3728
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.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2476,7 +2476,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2476
2476
|
doc.reference_doc = reference_doc;
|
|
2477
2477
|
}
|
|
2478
2478
|
// purchased
|
|
2479
|
-
if (doc.studio_meta.
|
|
2479
|
+
if (doc.studio_meta.installed_from_uid && doc.studio_meta.installed_from_app_id) {
|
|
2480
2480
|
reference_doc = _.cloneDeep(doc);
|
|
2481
2481
|
doc = await db_module.get_app_couch_doc_native(reference_doc.studio_meta.shared_from_app_id, reference_doc.studio_meta.share_item_id);
|
|
2482
2482
|
doc.reference_doc = reference_doc;
|