delete 10 posts at once on account deletion, resolves #101

This commit is contained in:
naskya 2023-08-07 22:08:51 +00:00 committed by Laura Hausmann
parent 9948df5670
commit 40a0f31089
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605

View File

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