@xuda.io/account_module 1.2.1695 → 1.2.1696

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