@xuda.io/ai_module 1.1.3563 → 1.1.3565
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 +2 -10
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2535,7 +2535,7 @@ export const get_apps = async function (req, job_id, headers) {
|
|
|
2535
2535
|
///////////////
|
|
2536
2536
|
let opt = {
|
|
2537
2537
|
selector: {
|
|
2538
|
-
docType: '
|
|
2538
|
+
docType: 'studio',
|
|
2539
2539
|
stat: 3,
|
|
2540
2540
|
'studio_meta.miniApp': true,
|
|
2541
2541
|
},
|
|
@@ -2550,7 +2550,7 @@ export const get_apps = async function (req, job_id, headers) {
|
|
|
2550
2550
|
break;
|
|
2551
2551
|
}
|
|
2552
2552
|
case 'shared': {
|
|
2553
|
-
opt.selector.shared_from_uid = { $gt: null };
|
|
2553
|
+
opt.selector['studio_meta.shared_from_uid'] = { $gt: null };
|
|
2554
2554
|
break;
|
|
2555
2555
|
}
|
|
2556
2556
|
|
|
@@ -2558,14 +2558,6 @@ export const get_apps = async function (req, job_id, headers) {
|
|
|
2558
2558
|
break;
|
|
2559
2559
|
}
|
|
2560
2560
|
|
|
2561
|
-
if (conversation_type) {
|
|
2562
|
-
opt.selector.conversation_type = conversation_type;
|
|
2563
|
-
}
|
|
2564
|
-
|
|
2565
|
-
if (reference_id) {
|
|
2566
|
-
opt.selector.reference_id = reference_id;
|
|
2567
|
-
}
|
|
2568
|
-
|
|
2569
2561
|
if (search) {
|
|
2570
2562
|
opt.selector = {
|
|
2571
2563
|
...opt.selector,
|