From 009754106216f4ef27db31532c4e32476f69eab2 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Fri, 30 Apr 2021 14:13:18 +0200 Subject: [PATCH] Fixed get_artist_discography_tab --- deezer/gw.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": {