mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 16:13:08 +02:00
✌️
This commit is contained in:
parent
0ef280377b
commit
30752b0fff
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)));
|
||||
|
||||
// このユーザーを削除
|
||||
await User.remove({
|
||||
_id: u._id
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue