UNPKG

@topgroup/diginext

Version:

A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.

13 lines (12 loc) 556 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.dxCreateUser = void 0; const app_config_1 = require("../../app.config"); const dx_api_1 = require("./dx-api"); async function dxCreateUser(params, options) { if ((0, app_config_1.IsTest)()) return { status: 1, data: {} }; console.log(params); return (0, dx_api_1.dxApi)({ url: "/auth/register", data: params, method: "POST", isDebugging: options === null || options === void 0 ? void 0 : options.isDebugging }); } exports.dxCreateUser = dxCreateUser;