Skip to content

Commit

Permalink
fix(eventsub): correct names for nats subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Satont committed May 31, 2024
1 parent 1349d40 commit bd2e39d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 43 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 10 additions & 37 deletions apps/api-gql/internal/gql/resolvers/user.resolver.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apps/eventsub/internal/bus-listener/bus-listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ func New(opts Opts) (*BusListener, error) {
fx.Hook{
OnStart: func(ctx context.Context) error {
if err := impl.bus.EventSub.SubscribeToAllEvents.SubscribeGroup(
"eventsub",
"eventsub.subscribeAll",
impl.subscribeToAllEvents,
); err != nil {
return err
}

if err := impl.bus.EventSub.Subscribe.SubscribeGroup(
"eventsub",
"eventsub.subscribe",
impl.subscribe,
); err != nil {
return err
Expand Down

0 comments on commit bd2e39d

Please sign in to comment.