chadsmith / node-namecheap

Node.js library for the NameCheap API
http://twitter.com/chadsmith
53 stars 25 forks source link

command(...) #1

Open niknah opened 11 years ago

niknah commented 11 years ago

At the bottom of namecheap.js there is a line...

res = res ? res[Object.keys(res)[0]] : undefined;

This returns the "Type" instead of the answer...

<CommandResponse Type="namecheap.domains.dns.getList">

Maybe namecheap api had changed since this was made, I don't know.