diff --git a/index.js b/index.js index dca66f4..d7e4a3b 100644 --- a/index.js +++ b/index.js @@ -515,7 +515,7 @@ class TekstowoAPI { ); const response = await this.makeRequest(requestOptions); const responseText = unescapeJsonString(await response.text()); - const pageCount = await this.getPagesForQuery(undefined, undefined, responseText); + const pageCount = await this.getPagesForQuery(undefined, responseText); const base = responseText.split('-lista">')[1].split("")[0].replace(/\n/g, "").replace(/\t/g, ""); /** * @type {Array>}