瀏覽代碼

[GIN] Missing err check in suggest.go

M. Sonntag 4 年之前
父節點
當前提交
a059c781ce
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/route/suggest.go

+ 1 - 1
internal/route/suggest.go

@@ -32,5 +32,5 @@ func ExploreSuggest(c *context.Context) {
 		return
 	}
 
-	c.Write(data)
+	_, _ = c.Write(data)
 }