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(); .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;

View file

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