@xuda.io/ai_module 1.1.4080 → 1.1.4082
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 +5 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5511,6 +5511,11 @@ const create_and_upload_image_to_drive = async function (drive_type, file_path,
|
|
|
5511
5511
|
}
|
|
5512
5512
|
};
|
|
5513
5513
|
|
|
5514
|
+
export const create_account_profile_avatar = async function (req, job_id, headers) {
|
|
5515
|
+
req.is_profile_avatar = true;
|
|
5516
|
+
return await create_profile_avatar(req, job_id, headers);
|
|
5517
|
+
};
|
|
5518
|
+
|
|
5514
5519
|
export const create_profile_avatar = async function (req, job_id, headers) {
|
|
5515
5520
|
async function normalizeBase64To1024(base64Image) {
|
|
5516
5521
|
const inputBuffer = Buffer.from(base64Image, 'base64');
|