@xuda.io/account_module 1.2.1985 → 1.2.1987
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 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5,9 +5,6 @@ import util from 'util';
|
|
|
5
5
|
import { parsePhoneNumber } from 'libphonenumber-js';
|
|
6
6
|
import { countryCodeEmoji } from 'country-code-emoji';
|
|
7
7
|
|
|
8
|
-
// Convert exec to a promise for cleaner async/await usage
|
|
9
|
-
// const execAsync = util.promisify(exec);
|
|
10
|
-
|
|
11
8
|
const account_info_properties = [
|
|
12
9
|
'account_type',
|
|
13
10
|
'business_name',
|
|
@@ -3260,6 +3257,11 @@ export const get_account_profiles = async function (req) {
|
|
|
3260
3257
|
$regex: `(?i)${search}`,
|
|
3261
3258
|
},
|
|
3262
3259
|
},
|
|
3260
|
+
{
|
|
3261
|
+
_id: {
|
|
3262
|
+
$regex: `(?i)${search}`,
|
|
3263
|
+
},
|
|
3264
|
+
},
|
|
3263
3265
|
];
|
|
3264
3266
|
}
|
|
3265
3267
|
|