Skip to content

Commit 614c79a

Browse files
authored
fix: save new accountID for twin entity during update event (#204)
1 parent d48f3e8 commit 614c79a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)