Change silly deletion methods

This commit is contained in:
kdh8219 2023-05-05 15:11:05 +09:00
parent f166d4b5e3
commit 5601e397c2
No known key found for this signature in database
GPG key ID: 2B5B609E12BB4C19
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;