diff --git a/cmd/main.go b/cmd/main.go index 3c1d9b4d..7a64b561 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -199,6 +199,7 @@ func main() { "error", err, ) }() + gctx.Inst().Events = events.NewPublisher(nc, config.Nats.Subject) { diff --git a/data/query/query.emote-set.go b/data/query/query.emote-set.go index 9b179220..1769f03b 100644 --- a/data/query/query.emote-set.go +++ b/data/query/query.emote-set.go @@ -142,11 +142,6 @@ func getOriginIds(items []structures.EmoteSet) []primitive.ObjectID { return ids } -type aggregatedSetWithOrigins struct { - Set structures.EmoteSet `bson:"set"` - OriginSets map[primitive.ObjectID]structures.EmoteSet `bson:"origin_sets"` -} - type QueryEmoteSetsOptions struct { FetchOrigins bool }