ListenBrainz: Fixed loves pagination

This commit is contained in:
Philipp Wolfer 2023-11-13 09:47:27 +01:00
parent 719ef5b84b
commit ebcec46d7a
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
2 changed files with 5 additions and 6 deletions

View file

@ -77,9 +77,10 @@ func (c Client) GetFeedback(user string, status int, offset int) (result GetFeed
response, err := c.HttpClient.R().
SetPathParam("username", user).
SetQueryParams(map[string]string{
"status": strconv.Itoa(status),
"offset": strconv.Itoa(offset),
"count": strconv.Itoa(c.MaxResults),
"status": strconv.Itoa(status),
"offset": strconv.Itoa(offset),
"count": strconv.Itoa(c.MaxResults),
"metadata": "true",
}).
SetResult(&result).
Get(path)