@xuda.io/ai_module 1.1.4420 → 1.1.4421
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
|
@@ -5667,7 +5667,8 @@ const create_and_upload_image_to_drive = async function (drive_type, file_path,
|
|
|
5667
5667
|
};
|
|
5668
5668
|
|
|
5669
5669
|
export const create_avatar = async function (req, job_id, headers) {
|
|
5670
|
-
const { docType, uid, url, _id, name, account_type
|
|
5670
|
+
const { docType, uid, url, _id, name, account_type } = req;
|
|
5671
|
+
let { metadata } = req;
|
|
5671
5672
|
try {
|
|
5672
5673
|
if (!['account', 'account_profile'].includes(docType)) {
|
|
5673
5674
|
throw new Error('invalid docType value');
|