From a0b4bd8de2f332d34bf6450292b50b489dcb6b22 Mon Sep 17 00:00:00 2001 From: Jude Zhu Date: Mon, 12 Aug 2024 16:53:16 -0700 Subject: [PATCH] fixed id --- lib/go/events/moment_locked.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/go/events/moment_locked.go b/lib/go/events/moment_locked.go index 309183d..d7fb404 100644 --- a/lib/go/events/moment_locked.go +++ b/lib/go/events/moment_locked.go @@ -18,7 +18,7 @@ type MomentLockedEvent interface { type momentLockedEvent map[string]any func (evt momentLockedEvent) FlowID() uint64 { - return evt["flowID"].(uint64) + return evt["id"].(uint64) } func (evt momentLockedEvent) Duration() uint64 {