@xuda.io/account_module 1.2.1696 → 1.2.1698

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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2872,7 +2872,7 @@ export const get_account_profiles = async function (req) {
2872
2872
  }
2873
2873
  }
2874
2874
 
2875
- if (!filter_type && !profile_id && !search && profile_docs.docs.length === 1 && profile_docs.docs[0].main) {
2875
+ if (filter_type === 'all' && !profile_id && !search && limit && profile_docs.docs.length === 1 && profile_docs.docs[0].main) {
2876
2876
  // return empty state if no custom profile defined by user
2877
2877
  return {
2878
2878
  code: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1696",
3
+ "version": "1.2.1698",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {