errors linting
This commit is contained in:
1 parent
24871ee151
commit
58dcc9feb0
4 files changed
+29
-35
No files matched your search
+1
-2
@@ -20,8 +20,7 @@ func GET(w http.ResponseWriter, r *http.Request, c *config.Config) (int, error)
|
||||
tpl, err := utils.GetTemplate(r, functions, "browse")
|
||||
|
||||
if err != nil {
|
||||
w.Write([]byte(err.Error()))
|
||||
return 500, err
|
||||
return http.StatusInternalServerError, err
|
||||
}
|
||||
|
||||
b := browse.Browse{
|
||||
|
||||
Reference in new issue
Block a user