mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 02:16:03 +00:00
Update entity-manager.js
This commit is contained in:
parent
8c1ec39e8d
commit
c942ca2564
@ -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)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user