Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "ksoft.js", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Official Node.js Wrapper for the KSoft.Si API.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -8,3 +8,2 @@ const Endpoint = require('../../../lib/Endpoint'); | ||
if (!(ban instanceof Ban)) throw new SyntaxError('Please use the ban builder'); | ||
console.log(ban.apiObject); | ||
return this.client.api.bans.add.post(ban.apiObject, true); | ||
@@ -11,0 +10,0 @@ } |
@@ -14,3 +14,2 @@ const Endpoint = require('../../../lib/Endpoint'); | ||
async serialize(data) { | ||
console.log(data) | ||
if (!data.data.length) throw new Error('No results'); | ||
@@ -17,0 +16,0 @@ return data.data.map(track => new Track(track.name, -1, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21749
539