1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 05:09:42 +02:00

Removed spaces

This commit is contained in:
Harvey Kandola 2018-10-23 16:57:58 +01:00
parent 4b543733e7
commit cccf160d37
4 changed files with 0 additions and 9 deletions

View file

@ -60,10 +60,6 @@ func (s Store) Get(ctx domain.RequestContext, id string) (document doc.Document,
WHERE c_orgid=? AND c_refid=?`),
ctx.OrgID, id)
if err != nil {
err = errors.Wrap(err, "execute select document")
}
return
}

View file

@ -76,7 +76,6 @@ func (p *Provider) Command(ctx *provider.Context, w http.ResponseWriter, r *http
}
defer r.Body.Close() // ignore error
body, err := ioutil.ReadAll(r.Body)
if err != nil {

View file

@ -54,7 +54,6 @@ func (p *Provider) Command(ctx *provider.Context, w http.ResponseWriter, r *http
defer r.Body.Close()
body, err := ioutil.ReadAll(r.Body)
if err != nil {
provider.WriteMessage(w, "trello", "Bad body")
return

View file

@ -72,7 +72,6 @@ func (h *Handler) SetSMTP(w http.ResponseWriter, r *http.Request) {
}
defer r.Body.Close()
body, err := ioutil.ReadAll(r.Body)
if err != nil {
response.WriteBadRequestError(w, method, err.Error())
@ -173,7 +172,6 @@ func (h *Handler) SetLicense(w http.ResponseWriter, r *http.Request) {
}
defer r.Body.Close()
body, err := ioutil.ReadAll(r.Body)
if err != nil {
response.WriteBadRequestError(w, method, err.Error())
@ -251,7 +249,6 @@ func (h *Handler) SetAuthConfig(w http.ResponseWriter, r *http.Request) {
}
defer r.Body.Close()
body, err := ioutil.ReadAll(r.Body)
if err != nil {
response.WriteBadRequestError(w, method, err.Error())