fixed fetching of discography

This commit is contained in:
acute_interpreter_panic
2025-10-10 00:40:58 +02:00
parent 81d29e4d8b
commit 19185f38a3
2 changed files with 3 additions and 8 deletions

View File

@@ -127,8 +127,7 @@ func (s *Session) PostForm(rawUrl string, data map[string]string, headers ...map
for k, v := range data {
formData.Add(k, v)
}
body := strings.NewReader(formData.Encode())
req, err := http.NewRequest("POST", fullURL, body)
req, err := http.NewRequest("POST", fullURL, strings.NewReader(formData.Encode()))
if err != nil {
return nil, err
}