Browse Source

Remove unneeded return

feature/add-http-image-upload
Roman Zipp 3 years ago
parent
commit
0c743dd35c
  1. 1
      main.go

1
main.go

@ -98,7 +98,6 @@ func UploadHandler(w http.ResponseWriter, r *http.Request, pipes []pipelines.IPi
}{"ok"}) }{"ok"})
if err != nil { if err != nil {
w.WriteHeader(http.StatusInternalServerError) w.WriteHeader(http.StatusInternalServerError)
return
} }
} }

Loading…
Cancel
Save