Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Mar 10, 2024
1 parent fe8177e commit 46950e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func bindSwagger(h *server.Hertz) {

h.GET("/openapi.yaml", func(c context.Context, ctx *app.RequestContext) {
ctx.Header("Content-Type", "application/x-yaml")
ctx.Write(openapiYAML)
_, _ = ctx.Write(openapiYAML)
})
}

Expand Down

0 comments on commit 46950e4

Please sign in to comment.