mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-16 10:03:12 -07:00
fix: revert fix for 1.12.0
This commit is contained in:
parent
6df591654e
commit
5d041f6db6
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ router.get("/", auth.isAuthorized, async function (req, res) {
|
||||||
api
|
api
|
||||||
.get("controller/network/" + nwid + "/member")
|
.get("controller/network/" + nwid + "/member")
|
||||||
.then(async function (controllerRes) {
|
.then(async function (controllerRes) {
|
||||||
const mids = controllerRes.data.map((i) => Object.keys(i)[0]);
|
const mids = Object.keys(controllerRes.data);
|
||||||
const data = await member.getMembersData(nwid, mids);
|
const data = await member.getMembersData(nwid, mids);
|
||||||
res.send(data);
|
res.send(data);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue