File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
platforms/group-charter-manager-api/src/web3adapter/watchers Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ export class PostgresSubscriber implements EntitySubscriberInterface {
180
180
console . log ( "✅ Full entity loaded:" , { id : fullEntity . id , tableName : event . metadata . tableName } ) ;
181
181
182
182
// Check if this is a Group entity and if charter was just added (not updated)
183
- if ( entityName === "Group " && fullEntity . charter && fullEntity . charter . trim ( ) !== "" ) {
183
+ if ( entityName . toLocaleLowerCase ( ) === "group " && fullEntity . charter && fullEntity . charter . trim ( ) !== "" ) {
184
184
// Check if this group doesn't have an ename yet (meaning eVault wasn't created)
185
185
if ( ! fullEntity . ename ) {
186
186
console . log ( "Group just got chartered, spinning up eVault for group:" , fullEntity . id ) ;
You can’t perform that action at this time.
0 commit comments