mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-21 20:36:05 +03:00
commit
1625192e1c
@ -18,7 +18,7 @@ func New(url string, token string) *MgClient {
|
|||||||
return &MgClient{
|
return &MgClient{
|
||||||
URL: url,
|
URL: url,
|
||||||
Token: token,
|
Token: token,
|
||||||
httpClient: &http.Client{Timeout: 20 * time.Second},
|
httpClient: &http.Client{Timeout: time.Minute},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user