From cf16f6188d899a1ab07dcff99909c878f01d8e9d Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 26 Oct 2024 09:39:47 -0400 Subject: cmd/amano: add bluesky commit collections Signed-off-by: Xe Iaso --- cmd/amano/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') diff --git a/cmd/amano/main.go b/cmd/amano/main.go index bbc867b..639c2a9 100644 --- a/cmd/amano/main.go +++ b/cmd/amano/main.go @@ -101,6 +101,7 @@ func handleEvent(nc *nats.Conn) func(ctx context.Context, ev *jsModels.Event) er m := nats.NewMsg(subject) m.Data = data m.Header.Set("bsky-actor-did", ev.Did) + m.Header.Set("bsky-commit-collection", ev.Commit.Collection) if err := nc.PublishMsg(m); err != nil { return fmt.Errorf("can't publish %q event: %w", subject, err) -- cgit v1.2.3