diff --git a/platforms/group-charter-manager-api/src/web3adapter/watchers/subscriber.ts b/platforms/group-charter-manager-api/src/web3adapter/watchers/subscriber.ts index 9ade3dd8..6aee6700 100644 --- a/platforms/group-charter-manager-api/src/web3adapter/watchers/subscriber.ts +++ b/platforms/group-charter-manager-api/src/web3adapter/watchers/subscriber.ts @@ -416,8 +416,11 @@ console.log("hmm?") console.log("Waiting 20 seconds before syncing updated group data..."); setTimeout(async () => { try { - // Fetch the updated group entity to trigger handleChange - const updatedGroup = await groupRepository.findOne({ where: { id: group.id } }); + // Fetch the updated group entity with relations to trigger handleChange + const updatedGroup = await groupRepository.findOne({ + where: { id: group.id }, + relations: this.getRelationsForEntity("Group") + }); if (updatedGroup) { console.log("Triggering handleChange for updated group with ename after timeout"); await this.handleChange(updatedGroup, "groups");