mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-08-14 02:27:35 -07:00
fix(backend/services/member.js): correctly delete members with unset additionalData
This commit is contained in:
parent
15e4051625
commit
450a6ad194
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,8 @@ async function deleteMemberAdditionalData(nwid, mid) {
|
|||
.write();
|
||||
*/
|
||||
|
||||
await updateMemberAdditionalData(nwid, mid, {});
|
||||
|
||||
db.get("networks")
|
||||
.filter({ id: nwid })
|
||||
.map("members")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue