From 49d35355f51eaefc6145ad2e7d425666264c491d Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 5 May 2023 01:06:56 +0100 Subject: [PATCH] Bug Fixes Signed-off-by: Fred Boniface --- src/configs/domains.configs.js | 4 ++-- src/configs/errorCodes.configs.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/configs/domains.configs.js b/src/configs/domains.configs.js index 56a77cc..a5013fa 100644 --- a/src/configs/domains.configs.js +++ b/src/configs/domains.configs.js @@ -1,5 +1,3 @@ -module.exports = valid; - const valid = [ 'owlboard.info', 'avantiwestcoast.co.uk', @@ -34,3 +32,5 @@ const valid = [ 'tfwrail.wales', 'wmtrains.co.uk', ]; + +module.exports = valid; \ No newline at end of file diff --git a/src/configs/errorCodes.configs.js b/src/configs/errorCodes.configs.js index 0acb0d7..38c39bd 100644 --- a/src/configs/errorCodes.configs.js +++ b/src/configs/errorCodes.configs.js @@ -1,5 +1,3 @@ -module.exports = statusCodes; - const statusCodes = { 700: 'no authentication attempt', 701: 'invalid credentials', @@ -10,3 +8,5 @@ const statusCodes = { 900: 'invalid request format', 950: 'upstream server error', }; + +module.exports = statusCodes; \ No newline at end of file