Remove debugging output

This commit is contained in:
Martin Dosch 2020-04-09 15:14:13 +02:00
parent 6a781a7b97
commit 45e69386f4

View File

@ -190,11 +190,10 @@ func httpUpload(client *xmpp.Client, jserver string, filePath string) string {
log.Fatal(err)
}
req.Header.Set("Content-Type", mimeType)
resp, err := httpClient.Do(req)
_, err = httpClient.Do(req)
if err != nil {
log.Fatal(err)
}
fmt.Println(resp.StatusCode)
// Return http link
return iqHttpUploadSlotXML.Get.URL