Skip to content

Commit

Permalink
comply with lint
Browse files Browse the repository at this point in the history
  • Loading branch information
broadeditz committed Oct 30, 2023
1 parent b7cd173 commit 0e1b557
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ func main() {
"error", err,
)
}()

gctx.Inst().Events = events.NewPublisher(nc, config.Nats.Subject)

{
Expand Down
5 changes: 0 additions & 5 deletions data/query/query.emote-set.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0e1b557

Please sign in to comment.