hqtrivia-api
Advanced tools
Comparing version 1.8.1 to 1.8.2
{ | ||
"name": "hqtrivia-api", | ||
"version": "1.8.1", | ||
"version": "1.8.2", | ||
"description": "HQ Trivia API wrapper for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -61,2 +61,8 @@ const axios = require('axios') | ||
} | ||
} else if (confirmCodeRes.data.auth.accessToken) { | ||
return { | ||
success: true, | ||
accountRegistred: true, | ||
token: confirmCodeRes.data.auth.accessToken | ||
} | ||
} else { | ||
@@ -63,0 +69,0 @@ throw new Error('Unknown API error') |
17931
329