Kaynağa Gözat

fmt

pull/30707/head
silverwind 3 hafta önce
ebeveyn
işleme
0dbb24635a
No account linked to committer's email address
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      services/context/base.go

+ 1
- 1
services/context/base.go Dosyayı Görüntüle

@@ -140,7 +140,7 @@ func (b *Base) JSON(status int, content any) {
// JSON render content as JSON
func (b *Base) HTMLString(status int, html string) {
b.Resp.Header().Set("Content-Type", "text/html;charset=utf-8")
b.Resp.WriteHeader(status);
b.Resp.WriteHeader(status)
b.Resp.Write([]byte(html))
}


Loading…
İptal
Kaydet