ysf
This commit is contained in:
parent
ce9fc21598
commit
6be34832c2
|
@ -60,11 +60,11 @@ func Request(_ context.Context, method, url string, body []byte, options ...Opti
|
|||
"Content-Type": []string{"application/json"},
|
||||
},
|
||||
|
||||
Timeout: 15 * time.Second,
|
||||
|
||||
StatusCodeFunc: func(code int) bool {
|
||||
return code == http.StatusOK
|
||||
},
|
||||
|
||||
Timeout: 15 * time.Second,
|
||||
}
|
||||
|
||||
for _, option := range options {
|
||||
|
|
Loading…
Reference in New Issue