Fix typo causing accounts to not be created

This commit is contained in:
hiimgoodpack 2021-01-19 19:04:27 -05:00
parent b3d9f220b0
commit 04b534b596
Signed by: hiimgoodpack
GPG key ID: 4E0E62733C14AE69

View file

@ -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;
} }