diff options
Diffstat (limited to 'api4/brand.go')
-rw-r--r-- | api4/brand.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api4/brand.go b/api4/brand.go index ac69f623b..de81b8a3b 100644 --- a/api4/brand.go +++ b/api4/brand.go @@ -23,6 +23,7 @@ func getBrandImage(c *Context, w http.ResponseWriter, r *http.Request) { // No permission check required if img, err := app.GetBrandImage(); err != nil { + w.WriteHeader(http.StatusNotFound) w.Write(nil) } else { w.Header().Set("Content-Type", "image/png") |