Update entity-manager.js

This commit is contained in:
Marc 2023-03-03 14:02:44 +01:00 committed by GitHub
parent fbad5cd13c
commit 8c1ec39e8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ module.exports = ({ strapi }) => ({
const updatedEntity = await strapi.entityService.update(uid, entity.id, params);
await emitEvent(ENTRY_PUBLISH, updatedEntity, uid);
await emitEvent(ENTRY_PUBLISH, updatedEntity, uid);
// If relations were populated, relations count will be returned instead of the array of relations.
if (isRelationsPopulateEnabled(uid)) {