@xuda.io/ai_module 1.1.4608 → 1.1.4609
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3403,7 +3403,7 @@ export const update_thumbnail = async function (type, doc, app_id, uid, job_id,
|
|
|
3403
3403
|
images_arr = [cache];
|
|
3404
3404
|
if (!cache) {
|
|
3405
3405
|
images_arr = await create_and_upload_image_to_drive('user', 'Chat Thumbnails', doc._id, prompt, 1, uid, app_id, job_id, headers, true, tags, account_profile_info);
|
|
3406
|
-
account_module.
|
|
3406
|
+
account_module.save_xuda_cache(uid, 'chat_thumbnail', doc.title, images_arr[0], { tags });
|
|
3407
3407
|
}
|
|
3408
3408
|
db_doc = await get_db_doc();
|
|
3409
3409
|
db_doc.thumbnail_request_ts = Date.now();
|