@xuda.io/account_module 1.2.1039 → 1.2.1041
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 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2483,11 +2483,13 @@ setTimeout(async () => {
|
|
|
2483
2483
|
|
|
2484
2484
|
// ret = await get_account_ai_usage({ uid });
|
|
2485
2485
|
// ret = await create_account_profile({ uid });
|
|
2486
|
+
ret = await get_profiles({ uid });
|
|
2486
2487
|
|
|
2487
2488
|
console.log(ret);
|
|
2488
2489
|
}, 1000);
|
|
2489
2490
|
|
|
2490
2491
|
export const get_profiles = async function (req) {
|
|
2492
|
+
debugger;
|
|
2491
2493
|
const { _id, uid, profile_name, limit, skip, bookmark, search, filter_type = 'all', profile_id } = req;
|
|
2492
2494
|
|
|
2493
2495
|
if (_id) {
|
|
@@ -2516,11 +2518,6 @@ export const get_profiles = async function (req) {
|
|
|
2516
2518
|
break;
|
|
2517
2519
|
}
|
|
2518
2520
|
|
|
2519
|
-
case 'pinned': {
|
|
2520
|
-
opt.selector.pinned = true;
|
|
2521
|
-
break;
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
2521
|
default:
|
|
2525
2522
|
break;
|
|
2526
2523
|
}
|