mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-03 09:18:09 +09:00
✌️
This commit is contained in:
parent
f91a53d893
commit
65a3bac543
@ -169,9 +169,9 @@ export async function deleteUser(user: string | mongo.ObjectID | IUser) {
|
|||||||
).map(x => deleteAccessToken(x)));
|
).map(x => deleteAccessToken(x)));
|
||||||
|
|
||||||
// このユーザーのNoteをすべて削除
|
// このユーザーのNoteをすべて削除
|
||||||
//await sequential((
|
await sequential((
|
||||||
// await Note.find({ userId: u._id })
|
await Note.find({ userId: u._id })
|
||||||
//).map(x => () => deleteNote(x)));
|
).map(x => () => deleteNote(x)));
|
||||||
|
|
||||||
// このユーザーのNoteReactionをすべて削除
|
// このユーザーのNoteReactionをすべて削除
|
||||||
await Promise.all((
|
await Promise.all((
|
||||||
|
Loading…
Reference in New Issue
Block a user