From 4d44eec7c9f2f25b06656cd5b4ea23498ac859eb Mon Sep 17 00:00:00 2001 From: RedDucks Date: Sun, 15 Apr 2018 21:57:17 -0400 Subject: [PATCH] bug fix --- helpers.js | 2 +- routes/provider/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers.js b/helpers.js index 45ba2a7..34eaa51 100644 --- a/helpers.js +++ b/helpers.js @@ -12,7 +12,7 @@ function genNEXPassoword() { if (offset < 10) return offset; if (offset < 36) return String.fromCharCode(offset + 55); return String.fromCharCode(offset + 61); - } + }; while (output.length < 16) { output.push(character()); diff --git a/routes/provider/index.js b/routes/provider/index.js index edcd953..dea5afe 100644 --- a/routes/provider/index.js +++ b/routes/provider/index.js @@ -6,7 +6,7 @@ const config = require('../../config'); const constants = require('../../constants'); const helpers = require('../../helpers'); const route_debugger = new debug('Provider Route'.green); -const gamePort = require('../../config.json').nex_servers; +const gamePort = config.nex_servers; route_debugger.log('Loading \'provider\' API routes');