From 8934a83c828ee568dcd8b10278f144de3cf908df Mon Sep 17 00:00:00 2001 From: Sameh Abouel-saad Date: Wed, 1 Oct 2025 23:02:36 +0300 Subject: [PATCH] fix: save new accountID for twin entity during update event --- src/mappings/twins.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mappings/twins.ts b/src/mappings/twins.ts index fa954f7..da57086 100644 --- a/src/mappings/twins.ts +++ b/src/mappings/twins.ts @@ -37,6 +37,7 @@ export async function twinUpdated( savedTwin.relay = twin.relay savedTwin.publicKey = twin.pk savedTwin.gridVersion = twin.version + savedTwin.accountID = twin.accountID await ctx.store.save(savedTwin) }