@xuda.io/account_module 1.2.779 → 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 -6
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -941,15 +941,9 @@ export const search_users = async function (req) {
|
|
|
941
941
|
docs.push(doc);
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
-
// debugger
|
|
945
944
|
return {
|
|
946
945
|
code: 1,
|
|
947
946
|
data: docs,
|
|
948
|
-
// data: ret.docs.map((e) => {
|
|
949
|
-
// const { socket_id, ...rest } = e;
|
|
950
|
-
|
|
951
|
-
// return { _id: e._id, ...rest.account_info, online: e.socket_id ? true : false };
|
|
952
|
-
// }),
|
|
953
947
|
};
|
|
954
948
|
} catch (e) {
|
|
955
949
|
return {
|