Skip to content

Commit

Permalink
メソッドに渡す context を修正する
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexa committed Nov 26, 2024
1 parent eea6b1f commit 8ae84ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (s *Server) createSpeechHandler(serviceType string, onResultFunc func(conte
ctx1, cancel1 := context.WithCancel(ctx)
defer cancel1()

reader, err := serviceHandler.Handle(ctx, r)
reader, err := serviceHandler.Handle(ctx1, r)
if err != nil {
zlog.Error().
Err(err).
Expand Down

0 comments on commit 8ae84ed

Please sign in to comment.