Selaa lähdekoodia

[GIN] Missing err check in suggest.go

M. Sonntag 4 vuotta sitten
vanhempi
commit
a059c781ce
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)
 }