We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c118274 commit a156830Copy full SHA for a156830
lib/wow.js
@@ -632,7 +632,7 @@ WoW.prototype.token = function getToken(args) {
632
* @param {Number} [args.id=index] Item ID
633
* @return {Promise} A thenable Promises/A+ reference
634
*/
635
-WoW.prototype.itemData = function getItemData({ id = 'index', ...args } = {}) {
+WoW.prototype.itemData = function getItemData({ id, ...args }) {
636
return this.blizzard.get(
637
`/data/wow/item/${id}`,
638
merge({}, args, {
0 commit comments