@xuda.io/account_module 1.2.778 → 1.2.780
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 +0 -7
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -933,7 +933,6 @@ export const search_users = async function (req) {
|
|
|
933
933
|
}
|
|
934
934
|
|
|
935
935
|
try {
|
|
936
|
-
debugger;
|
|
937
936
|
var ret = await db_module.find_couch_query('xuda_accounts', opt);
|
|
938
937
|
|
|
939
938
|
let docs = [];
|
|
@@ -942,15 +941,9 @@ export const search_users = async function (req) {
|
|
|
942
941
|
docs.push(doc);
|
|
943
942
|
}
|
|
944
943
|
|
|
945
|
-
// debugger
|
|
946
944
|
return {
|
|
947
945
|
code: 1,
|
|
948
946
|
data: docs,
|
|
949
|
-
// data: ret.docs.map((e) => {
|
|
950
|
-
// const { socket_id, ...rest } = e;
|
|
951
|
-
|
|
952
|
-
// return { _id: e._id, ...rest.account_info, online: e.socket_id ? true : false };
|
|
953
|
-
// }),
|
|
954
947
|
};
|
|
955
948
|
} catch (e) {
|
|
956
949
|
return {
|