@xuda.io/ai_module 1.1.4081 → 1.1.4083
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 +7 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5512,7 +5512,13 @@ const create_and_upload_image_to_drive = async function (drive_type, file_path,
|
|
|
5512
5512
|
};
|
|
5513
5513
|
|
|
5514
5514
|
export const create_account_profile_avatar = async function (req, job_id, headers) {
|
|
5515
|
-
|
|
5515
|
+
const { uid } = req;
|
|
5516
|
+
try {
|
|
5517
|
+
req.is_profile_avatar = true;
|
|
5518
|
+
const ret = await db_module.get_couch_doc_native('xuda_accounts', uid);
|
|
5519
|
+
|
|
5520
|
+
return await create_profile_avatar(req, job_id, headers);
|
|
5521
|
+
} catch (error) {}
|
|
5516
5522
|
};
|
|
5517
5523
|
|
|
5518
5524
|
export const create_profile_avatar = async function (req, job_id, headers) {
|