@xuda.io/ai_module 1.1.3701 → 1.1.3703
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 +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2777,10 +2777,10 @@ export const get_apps = async function (req, job_id, headers) {
|
|
|
2777
2777
|
let docs = [];
|
|
2778
2778
|
for (let doc of user_apps.docs) {
|
|
2779
2779
|
let reference_doc;
|
|
2780
|
-
|
|
2781
|
-
if (doc.shared_from_uid) {
|
|
2780
|
+
debugger;
|
|
2781
|
+
if (doc.studio_meta.shared_from_uid) {
|
|
2782
2782
|
reference_doc = _.cloneDeep(doc);
|
|
2783
|
-
doc = await db_module.get_app_couch_doc_native(reference_doc.shared_from_app_id, reference_doc.share_item_id);
|
|
2783
|
+
doc = await db_module.get_app_couch_doc_native(reference_doc.studio_meta.shared_from_app_id, reference_doc.studio_meta.share_item_id);
|
|
2784
2784
|
doc.reference_doc = reference_doc;
|
|
2785
2785
|
}
|
|
2786
2786
|
|