zero-ui/backend/utils/zt-address.js
2021-03-21 22:25:13 +03:00

6 lines
155 B
JavaScript

const api = require("../utils/controller-api");
module.exports = async function () {
const res = await api.get("status");
return res.data.address;
};