We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ea389 commit d3bcb1cCopy full SHA for d3bcb1c
server/config/type.js
@@ -69,9 +69,7 @@ const ConfigType = class ConfigType {
69
});
70
71
await Promise.all(relations.map(async (relation) => {
72
- await strapi.query(queryString).delete({
73
- where: { id: relation.id },
74
- });
+ await strapi.entityService.delete(queryString, relation.id);
75
}));
76
77
0 commit comments