diff options
Diffstat (limited to 'extra/audio.go')
-rw-r--r-- | extra/audio.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/audio.go b/extra/audio.go index fc5e2ba..73d75ed 100644 --- a/extra/audio.go +++ b/extra/audio.go @@ -144,7 +144,7 @@ func (o *KokoroOrator) requestSound(text string) (io.ReadCloser, error) { if err != nil { return nil, fmt.Errorf("failed to marshal payload: %w", err) } - req, err := http.NewRequest("POST", o.URL, bytes.NewBuffer(payloadBytes)) + req, err := http.NewRequest("POST", o.URL, bytes.NewBuffer(payloadBytes)) //nolint:noctx if err != nil { return nil, fmt.Errorf("failed to create request: %w", err) } |