1
0
Fork 0
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:
jvoisin 2025-01-20 16:13:18 +01:00 committed by Frédéric Guillot
parent 71c7845c42
commit 7967ce4df2

View file

@ -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,
}
}