Skip to content

Commit 0dbb246

Browse files
committed
fmt
1 parent 7e40149 commit 0dbb246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/context/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (b *Base) JSON(status int, content any) {
140140
// JSON render content as JSON
141141
func (b *Base) HTMLString(status int, html string) {
142142
b.Resp.Header().Set("Content-Type", "text/html;charset=utf-8")
143-
b.Resp.WriteHeader(status);
143+
b.Resp.WriteHeader(status)
144144
b.Resp.Write([]byte(html))
145145
}
146146

0 commit comments

Comments
 (0)