Skip to content

Commit

Permalink
Subgraph: Bugfixed adding executionMultisigMembers
Browse files Browse the repository at this point in the history
  • Loading branch information
nigeon committed Dec 19, 2023
1 parent 0789ec4 commit 8bee343
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/subgraph/src/plugin/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,10 @@ export function handleExecutionMultisigMembersAdded(
if (installationId) {
let pluginEntity = Plugin.load(installationId.toHexString());
if (pluginEntity) {
let members: string[] = [];
let members = pluginEntity.executionMultisigMembers;
if (!members) {
members = [];
}
for (let i = 0; i < event.params.newMembers.length; i++) {
members.push(event.params.newMembers[i].toHexString());
}
Expand Down

0 comments on commit 8bee343

Please sign in to comment.