From ad1556dbc0799582711755fe5519a1e49c3dfb1a Mon Sep 17 00:00:00 2001 From: rick Date: Wed, 1 Sep 2021 12:32:29 +0200 Subject: [PATCH] fix: forget array in Spotify struct --- struct.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/struct.go b/struct.go index cd9b03b..5d03848 100644 --- a/struct.go +++ b/struct.go @@ -112,7 +112,7 @@ type SpotifyItem struct { type SpotifyPlaylist struct { Href string `json:"href"` - Items SpotifyItem `json:"items"` + Items []SpotifyItem `json:"items"` Limit int `json:"limit"` Next string `json:"next"` Offset int `json:"offset"`