✌️
This commit is contained in:
parent
67421783b4
commit
c57576652a
1 changed files with 3 additions and 0 deletions
|
@ -258,6 +258,9 @@ export async function deleteUser(user: string | mongo.ObjectID | IUser) {
|
||||||
).map(x => deleteNotification(x)));
|
).map(x => deleteNotification(x)));
|
||||||
|
|
||||||
// このユーザーを削除
|
// このユーザーを削除
|
||||||
|
await User.remove({
|
||||||
|
_id: u._id
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue