update to use roots event constructor and new created at type.

This commit is contained in:
Jay
2026-05-04 13:53:34 -04:00
parent 835dcb59a1
commit 24a76b23ce
3 changed files with 28 additions and 32 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ func EventToSubgraph(e roots.Event, p ExpanderPipeline) *EventSubgraph {
// Core pipeline functions
func newEventNode(eventID string, createdAt int, kind int, content string) *Node {
func newEventNode(eventID string, createdAt int64, kind int, content string) *Node {
eventNode := NewEventNode(eventID)
eventNode.Props["created_at"] = createdAt
eventNode.Props["kind"] = kind