@xuda.io/account_module 1.2.24 → 1.2.26

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.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -534,12 +534,12 @@ exports.get_account_projects = async function (req) {
534
534
  return ret;
535
535
  };
536
536
 
537
- exports.get_user_datacenters = async function (req) {
537
+ exports.get_account_datacenters = async function (req) {
538
538
  return await db_module.get_couch_view("xuda_master", "user_datacenters", {
539
539
  key: req.uid,
540
540
  });
541
541
  };
542
- exports.get_user_deployments = async function (req) {
542
+ exports.get_account_deployments = async function (req) {
543
543
  return await db_module.get_couch_view("xuda_master", "user_deployments", {
544
544
  key: req.uid,
545
545
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.24",
3
+ "version": "1.2.26",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {