@xuda.io/ai_module 1.1.4942 → 1.1.4944
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 +10 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -10709,5 +10709,14 @@ export const get_person_info = async function (uid, name, email, account_profile
|
|
|
10709
10709
|
export const open_ai_alive_check = async function () {};
|
|
10710
10710
|
|
|
10711
10711
|
const get_active_account_profile_info = async function (uid) {
|
|
10712
|
-
const
|
|
10712
|
+
const key = `active_account_profile_info_${uid}`;
|
|
10713
|
+
|
|
10714
|
+
let account_profile_info;
|
|
10715
|
+
try {
|
|
10716
|
+
account_profile_info = db_module.get_memcached_doc(key);
|
|
10717
|
+
} catch (error) {
|
|
10718
|
+
account_profile_info = await account_ms.get_active_account_profile_info(uid);
|
|
10719
|
+
}
|
|
10720
|
+
|
|
10721
|
+
return account_profile_info;
|
|
10713
10722
|
};
|