Skip to content

Commit a156830

Browse files
committed
Remove default args object
1 parent c118274 commit a156830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ WoW.prototype.token = function getToken(args) {
632632
* @param {Number} [args.id=index] Item ID
633633
* @return {Promise} A thenable Promises/A+ reference
634634
*/
635-
WoW.prototype.itemData = function getItemData({ id = 'index', ...args } = {}) {
635+
WoW.prototype.itemData = function getItemData({ id, ...args }) {
636636
return this.blizzard.get(
637637
`/data/wow/item/${id}`,
638638
merge({}, args, {

0 commit comments

Comments
 (0)