@xuda.io/account_module 1.2.1305 → 1.2.1306
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2695,9 +2695,9 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2695
2695
|
|
|
2696
2696
|
export const get_account_profiles = async function (req) {
|
|
2697
2697
|
const { _id, uid, profile_name, limit, skip, bookmark, search, filter_type = 'all', profile_id } = req;
|
|
2698
|
-
|
|
2698
|
+
const app_id = await get_account_default_project_id(uid);
|
|
2699
2699
|
if (_id) {
|
|
2700
|
-
let data = await db_module.
|
|
2700
|
+
let data = await db_module.get_app_couch_doc(app_id, _id);
|
|
2701
2701
|
return data;
|
|
2702
2702
|
}
|
|
2703
2703
|
|