File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
platforms/group-charter-manager-api/src/web3adapter/watchers Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -416,8 +416,11 @@ console.log("hmm?")
416
416
console . log ( "Waiting 20 seconds before syncing updated group data..." ) ;
417
417
setTimeout ( async ( ) => {
418
418
try {
419
- // Fetch the updated group entity to trigger handleChange
420
- const updatedGroup = await groupRepository . findOne ( { where : { id : group . id } } ) ;
419
+ // Fetch the updated group entity with relations to trigger handleChange
420
+ const updatedGroup = await groupRepository . findOne ( {
421
+ where : { id : group . id } ,
422
+ relations : this . getRelationsForEntity ( "Group" )
423
+ } ) ;
421
424
if ( updatedGroup ) {
422
425
console . log ( "Triggering handleChange for updated group with ename after timeout" ) ;
423
426
await this . handleChange ( updatedGroup , "groups" ) ;
You can’t perform that action at this time.
0 commit comments