@xuda.io/ai_module 1.1.4152 → 1.1.4153
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
|
@@ -5614,6 +5614,7 @@ export const create_profile_avatar = async function (req, job_id, headers) {
|
|
|
5614
5614
|
is_real_person_in_picture: z.boolean().describe('if a postrate of real person in the picture return true otherwise return false'),
|
|
5615
5615
|
}),
|
|
5616
5616
|
metadata: { account_id: account_obj._id, func: 'detect_real_person_in_image' },
|
|
5617
|
+
account_profile_info,
|
|
5617
5618
|
});
|
|
5618
5619
|
|
|
5619
5620
|
const res = JSON5.parse(ret.data);
|
|
@@ -5621,7 +5622,7 @@ export const create_profile_avatar = async function (req, job_id, headers) {
|
|
|
5621
5622
|
};
|
|
5622
5623
|
|
|
5623
5624
|
// const drive_module = await import(`${module_path}/drive_module/index.mjs`);
|
|
5624
|
-
const { url, uid, account_obj, prompt, is_profile_avatar } = req;
|
|
5625
|
+
const { url, uid, account_obj, prompt, is_profile_avatar, account_profile_info } = req;
|
|
5625
5626
|
if (!is_profile_avatar) {
|
|
5626
5627
|
await update_profile_avatar_status(account_obj._id, 2);
|
|
5627
5628
|
}
|