fix
This commit is contained in:
parent
23b2eded5a
commit
4a620d46d5
|
@ -67,6 +67,10 @@ func ApiCall2(url, method string, header map[string]string, body io.Reader, time
|
|||
for {
|
||||
line, _, err := reader.ReadLine()
|
||||
if err == io.EOF {
|
||||
_, err = buff.Write(line)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
break
|
||||
}
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user