mirror of
https://salsa.debian.org/mdosch/go-sendxmpp
synced 2024-11-12 13:10:25 +00:00
Remove debugging output
This commit is contained in:
parent
6a781a7b97
commit
45e69386f4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user