Change silly deletion methods
This commit is contained in:
parent
f166d4b5e3
commit
5601e397c2
|
@ -50,7 +50,7 @@ export default {
|
|||
.get();
|
||||
if (!the_member.empty) {
|
||||
the_member.forEach((member) => {
|
||||
members.doc(member.id).delete();
|
||||
member.ref.delete();
|
||||
});
|
||||
|
||||
let discord_tag: string;
|
||||
|
|
|
@ -30,7 +30,7 @@ export default {
|
|||
|
||||
if (!should_remove.empty) {
|
||||
should_remove.forEach((item) => {
|
||||
members.doc(item.id).delete();
|
||||
item.ref.delete();
|
||||
});
|
||||
|
||||
let discord_tag;
|
||||
|
|
Loading…
Reference in a new issue