Skip to content

Commit

Permalink
chore: use any instead of interface{}
Browse files Browse the repository at this point in the history
Co-authored-by: Neko <[email protected]>
  • Loading branch information
kwaa and nekomeowww authored Dec 31, 2024
1 parent 5fe8586 commit 34829ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backend/elevenlabs.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func elevenlabs(c echo.Context, options mo.Option[SpeechRequestOptions]) mo.Resu
},
lo.Map(
lo.Entries(options.MustGet().ExtraBody),
func(item lo.Entry[string, interface{}], index int) mo.Option[jsonpatch.JSONPatchOperationObject] {
func(item lo.Entry[string, any], index int) mo.Option[jsonpatch.JSONPatchOperationObject] {
return jsonpatch.NewAdd(strings.Join([]string{"/", item.Key}, ""), item.Value)
})...,
)...,
Expand Down

0 comments on commit 34829ee

Please sign in to comment.