sms; actually log a string
This commit is contained in:
parent
06cbf905b6
commit
ac2e64d4b6
@ -51,7 +51,11 @@ func sendVoipmsResp(v voipms) error {
|
||||
return err
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
log.Println(io.ReadAll(resp.Body))
|
||||
str, err := io.ReadAll(resp.Body)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Println(str)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user