Skip to content

Commit d1619f0

Browse files
author
plokko
authored
Fix SyncRelated not triggering sync related
Fix SyncRelated not triggering syncRelatedWithFirebase() in parent
1 parent 46818ee commit d1619f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Relations/SyncWithFirebaseBelongsToMany.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ protected function syncParentWithFirebase(){
7272
if($this->_isSynching){
7373
//TODO:should only update touched relation
7474
$this->parent->syncWithFirebase();
75+
$this->parent->syncRelatedWithFirebase();
7576
}
7677
}
77-
}
78+
}

0 commit comments

Comments
 (0)