Rename variables & interface

This commit is contained in:
Svilen Markov
2024-11-30 14:24:19 +00:00
parent ffe053ffc5
commit b5259d1a98
15 changed files with 32 additions and 32 deletions

View File

@@ -75,7 +75,7 @@ func (widget *customAPIWidget) Render() template.HTML {
func fetchAndParseCustomAPI(req *http.Request, tmpl *template.Template) (template.HTML, error) {
emptyBody := template.HTML("")
resp, err := defaultClient.Do(req)
resp, err := defaultHTTPClient.Do(req)
if err != nil {
return emptyBody, err
}