We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee3e456 commit 51c1e3eCopy full SHA for 51c1e3e
lib/character.js
@@ -19,7 +19,7 @@ class Character extends Lib {
19
if(!name)
20
reject(Error('name must be defined'))
21
if(params.server && !this.parent.resources.servers.includes(firstCapital(params.server)))
22
- return(Error('server not valid'))
+ reject(Error('server not valid'))
23
24
this.req(
25
'/character/search',
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "xivapi-js",
3
- "version": "0.1.1",
+ "version": "0.1.2",
4
"description": "A pure JS wrapper for xivapi.com",
5
"main": "XIVAPI.js",
6
"directories": {
0 commit comments