mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Remove a useless cast
This commit is contained in:
parent
71c7845c42
commit
7967ce4df2
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ func (r *request) execute(method, path string, data interface{}) (io.ReadCloser,
|
|||
|
||||
func (r *request) buildClient() http.Client {
|
||||
return http.Client{
|
||||
Timeout: time.Duration(defaultTimeout * time.Second),
|
||||
Timeout: defaultTimeout * time.Second,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue