delete 10 posts at once on account deletion

This commit is contained in:
naskya 2023-08-07 22:08:51 +00:00
parent 7bf4e3e839
commit 3ffee23a3e

View file

@ -29,7 +29,7 @@ export async function deleteAccount(
userId: user.id,
...(cursor ? { id: MoreThan(cursor) } : {}),
},
take: 100,
take: 10,
order: {
id: 1,
},