Skip to content

Commit 8934a83

Browse files
committed
fix: save new accountID for twin entity during update event
1 parent d48f3e8 commit 8934a83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mappings/twins.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export async function twinUpdated(
3737
savedTwin.relay = twin.relay
3838
savedTwin.publicKey = twin.pk
3939
savedTwin.gridVersion = twin.version
40+
savedTwin.accountID = twin.accountID
4041

4142
await ctx.store.save<Twin>(savedTwin)
4243
}

0 commit comments

Comments
 (0)