mirror of
https://github.com/strapi/strapi.git
synced 2026-01-06 04:03:25 +00:00
Merge pull request #16472 from molund/molund-patch-1
This commit is contained in:
commit
7bdbd665af
@ -152,7 +152,7 @@ const deleteRelations = async ({
|
||||
.transacting(trx)
|
||||
.execute();
|
||||
done = batchToDelete.length < batchSize;
|
||||
lastId = batchToDelete[batchToDelete.length - 1]?.id;
|
||||
lastId = batchToDelete[batchToDelete.length - 1]?.id || 0;
|
||||
|
||||
const batchIds = map(inverseJoinColumn.name, batchToDelete);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user