@xuda.io/ai_module 1.1.4612 → 1.1.4613
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
|
@@ -7112,7 +7112,7 @@ export const get_name_from_email_addr = async function (uid, email, account_prof
|
|
|
7112
7112
|
if (name_ret.code > -1) {
|
|
7113
7113
|
const data = typeof name_ret.data === 'string' ? JSON.parse(name_ret.data) : name_ret.data;
|
|
7114
7114
|
|
|
7115
|
-
return data;
|
|
7115
|
+
return data?.name;
|
|
7116
7116
|
}
|
|
7117
7117
|
} catch (error) {
|
|
7118
7118
|
console.error('Error in get_name_from_email_addr:', error);
|