Update type.js

Update Query String
pull/93/head
ppaoli 2023-10-14 11:01:39 +02:00
parent 10ea389822
commit d3bcb1cd7c
1 changed files with 1 additions and 3 deletions

View File

@ -69,9 +69,7 @@ const ConfigType = class ConfigType {
}); });
await Promise.all(relations.map(async (relation) => { await Promise.all(relations.map(async (relation) => {
await strapi.query(queryString).delete({ await strapi.entityService.delete(queryString, relation.id);
where: { id: relation.id },
});
})); }));
})); }));