diff --git a/deezer/gw.js b/deezer/gw.js index bbe6291..8da4ef8 100644 --- a/deezer/gw.js +++ b/deezer/gw.js @@ -345,7 +345,7 @@ class GW{ let response do { response = await this.get_artist_discography(art_id, {index, limit}) - releases.concat(response.data) + releases = releases.concat(response.data) index += limit } while (index < response.total) diff --git a/package.json b/package.json index 5e35b7f..b780bc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "deezer-js", - "version": "0.0.9", + "version": "0.0.10", "description": "A wrapper for all Deezer's APIs", "main": "deezer/index.js", "scripts": {