Skip to content

Commit

Permalink
Refactor: fixed cmd main
Browse files Browse the repository at this point in the history
Signed-off-by: nyagamunene <[email protected]>
  • Loading branch information
nyagamunene committed Jun 10, 2024
1 parent 454702e commit 8fb868f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/events/store/store_nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NewPublisher(ctx context.Context, url, stream string) (events.Publisher, er
return pb, nil
}

func NewSubscriber(ctx context.Context, url string, logger *slog.Logger) (events.Subscriber, error.Error) {
func NewSubscriber(ctx context.Context, url string, logger *slog.Logger) (events.Subscriber, errors.Error) {
pb, err := nats.NewSubscriber(ctx, url, logger)
if err != nil {
return nil, err
Expand Down

0 comments on commit 8fb868f

Please sign in to comment.