refactor: extract server-side CRM personal account lookup

This commit is contained in:
2026-11-06 11:22:42 +00:00
parent b9be188d27
commit 4b552e9cdd
3 changed files with 83 additions and 0 deletions
+2
View File
@@ -34,6 +34,8 @@ const loadModule = (relativePath, injected = {}) => {
source += `\nif (typeof ${name} !== "undefined" && !module.exports.default) module.exports.default = ${name};\n`;
});
source +=
'\nif (typeof getCrmPersonalAccount !== "undefined") module.exports.getCrmPersonalAccount = getCrmPersonalAccount;\n';
source +=
'\nif (typeof respondSuccess !== "undefined") module.exports.respondSuccess = respondSuccess;\n';
source +=