parent
10ea389822
commit
d3bcb1cd7c
|
@ -69,9 +69,7 @@ const ConfigType = class ConfigType {
|
|||
});
|
||||
|
||||
await Promise.all(relations.map(async (relation) => {
|
||||
await strapi.query(queryString).delete({
|
||||
where: { id: relation.id },
|
||||
});
|
||||
await strapi.entityService.delete(queryString, relation.id);
|
||||
}));
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue