@xuda.io/account_module 1.2.1498 → 1.2.1500
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1954,6 +1954,7 @@ setTimeout(async () => {
|
|
|
1954
1954
|
// ret = _design.views.ai_chat_usage;
|
|
1955
1955
|
// console.log(_design.views.ai_chat_usage);
|
|
1956
1956
|
// ret = await set_contact_profile_picture(uid, 'cnt_2d21d55f8f0cdaf65a7a69f69617f532', {}, null, {});
|
|
1957
|
+
ret = await get_picture_cache(uid, 'chat_thumbnail', 'word five title');
|
|
1957
1958
|
console.log(ret);
|
|
1958
1959
|
}, 1000);
|
|
1959
1960
|
|
|
@@ -3056,7 +3057,7 @@ export const get_picture_cache = async function (uid, docType, name) {
|
|
|
3056
3057
|
let opt = { selector: { docType, name }, limit: 1 };
|
|
3057
3058
|
|
|
3058
3059
|
const ret = await db_module.find_couch_query('xuda_cache', opt);
|
|
3059
|
-
|
|
3060
|
+
debugger;
|
|
3060
3061
|
if (ret.doc.length) {
|
|
3061
3062
|
return ret.doc[0].file;
|
|
3062
3063
|
}
|