@xuda.io/account_module 1.2.23 → 1.2.25
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.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -516,7 +516,7 @@ exports.get_account_data = async function (req) {
|
|
|
516
516
|
// return get_info();
|
|
517
517
|
};
|
|
518
518
|
|
|
519
|
-
exports.
|
|
519
|
+
exports.get_account_projects = async function (req) {
|
|
520
520
|
const { uid } = req;
|
|
521
521
|
var opt = {
|
|
522
522
|
key: uid,
|
|
@@ -534,7 +534,7 @@ exports.get_user_projects = async function (req) {
|
|
|
534
534
|
return ret;
|
|
535
535
|
};
|
|
536
536
|
|
|
537
|
-
exports.
|
|
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
|
});
|