Skip to content

Commit

Permalink
fix panic
Browse files Browse the repository at this point in the history
  • Loading branch information
smecsia committed Sep 21, 2024
1 parent a2aef85 commit 9402b42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ func New(ctx context.Context, opts ...Option) (Service, error) {
gin.DefaultWriter = io.Discard

s := &service{
ctx: ctx,
ctx: ctx,
streamingResponseProcessors: make(map[string]StreamingResponseProcessor),
}

for _, opt := range opts {
Expand Down

0 comments on commit 9402b42

Please sign in to comment.