Skip to content

Commit

Permalink
Fix charset typo in swagger.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepymole authored Aug 17, 2022
1 parent e1a95e2 commit e03b302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func SwaggerAPIv1(
writer http.ResponseWriter,
req *http.Request,
) {
writer.Header().Set("Content-Type", "application/json; charset=utf-88")
writer.Header().Set("Content-Type", "application/json; charset=utf-8")
writer.WriteHeader(http.StatusOK)
if _, err := writer.Write(apiV1JSON); err != nil {
log.Error().
Expand Down

0 comments on commit e03b302

Please sign in to comment.