1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-02 08:48:11 +09:00
This commit is contained in:
syuilo 2018-04-15 06:37:55 +09:00
parent 0ef280377b
commit 30752b0fff

View File

@ -258,6 +258,9 @@ export async function deleteUser(user: string | mongo.ObjectID | IUser) {
).map(x => deleteNotification(x)));
// このユーザーを削除
await User.remove({
_id: u._id
});
}
/**