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