startgg-helper 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/query.js +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "startgg-helper",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "A set of functions and classes useful to communicate with the start.gg API, using any client (YOU NEED TO PROVIDE A CLIENT YOURSELF, SEE README)",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"scripts": {
|
package/src/query.js
CHANGED
|
@@ -130,8 +130,7 @@ export class Query {
|
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
if (!isConnection(connection)) throw "The given path does not point to a connection type"
|
|
134
|
-
console.log(connection);
|
|
133
|
+
if (!isConnection(connection)) throw "The given path does not point to a connection type";
|
|
135
134
|
|
|
136
135
|
let localResult = connection.nodes;
|
|
137
136
|
if (connection.pageInfo && connection.pageInfo.totalPages){
|