bfd-api-redux
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "bfd-api-redux", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A node.js wrapper for the Bots For Discord API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -88,3 +88,3 @@ const EventEmitter = require("events"); | ||
if (Array.isArray(votes.entries)) { | ||
let structure = { voted: true, votes: []}; | ||
let structure = { voted: votes.entries.some(vote => vote.userid === userid), votes: []}; | ||
votes.entries.forEach(vote => { | ||
@@ -91,0 +91,0 @@ if (vote.userid === userid) { |
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
7796