Skip to content

Commit

Permalink
fix(backend/services/member.js): correctly delete members with unset …
Browse files Browse the repository at this point in the history
…additionalData
  • Loading branch information
dec0dOS committed Oct 9, 2022
1 parent 15e4051 commit 450a6ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/services/member.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ async function deleteMemberAdditionalData(nwid, mid) {
.write();
*/

await updateMemberAdditionalData(nwid, mid, {});

db.get("networks")
.filter({ id: nwid })
.map("members")
Expand Down

0 comments on commit 450a6ad

Please sign in to comment.