Fix linting

This commit is contained in:
Wim 2024-05-23 23:57:30 +02:00
parent b2df32bc81
commit fa147c076f
No known key found for this signature in database

View File

@ -135,7 +135,7 @@ func (b *Brocketchat) uploadFile(fi *config.FileInfo, channel string) error {
if err != nil {
return err
}
defer resp.Body.Close()
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
return err