Skip to content

Commit

Permalink
fix: revert fix for 1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dec0dOS authored Oct 4, 2023
1 parent 6df5916 commit 5d041f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/routes/member.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ router.get("/", auth.isAuthorized, async function (req, res) {
api
.get("controller/network/" + nwid + "/member")
.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);
res.send(data);
})
Expand Down

0 comments on commit 5d041f6

Please sign in to comment.