Fix typo causing accounts to not be created
This commit is contained in:
parent
b3d9f220b0
commit
04b534b596
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -101,7 +101,7 @@ module.exports.users = {
|
||||||
res();
|
res();
|
||||||
else {
|
else {
|
||||||
const rawData = result.res.data.toString();
|
const rawData = result.res.data.toString();
|
||||||
if (rawData === ratelimited) {
|
if (rawData === rateLimited) {
|
||||||
rej(`Error when creating account: ${rateLimited}`);
|
rej(`Error when creating account: ${rateLimited}`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue