diff --git a/controllers/FastLoad/localReplaceTables.js b/controllers/FastLoad/localReplaceTables.js index da5d126..d5bf61c 100644 --- a/controllers/FastLoad/localReplaceTables.js +++ b/controllers/FastLoad/localReplaceTables.js @@ -160,6 +160,10 @@ const cleanNewLinesOutOfJSON = (tableJSON) => { exports.localReplaceTable = async (req, res) => { + return res.json({ + "message": "Hit localReplaceTable endpoint", + }); + if (process.env.SERVER_IS_SOURCE_OF_TRUTH == true) { console.log('localReplaceTable: weconnect-server environment variable SERVER_IS_SOURCE_OF_TRUTH is true, returning null'); return null; diff --git a/controllers/FastLoad/retrieveTables.js b/controllers/FastLoad/retrieveTables.js index 0dad382..0286ca7 100644 --- a/controllers/FastLoad/retrieveTables.js +++ b/controllers/FastLoad/retrieveTables.js @@ -243,6 +243,10 @@ exports.makeATempTableAndReturnJSON = async (tableName, anonymizeSensitiveData) }; exports.getOneFastLoadTable = async (req, res) => { + return res.json({ + "message": "Hit getOneFastLoadTable endpoint", + }); + if (process.env.SERVER_IS_SOURCE_OF_TRUTH == true) { console.log('getOneFastLoadTable: weconnect-server environment variable SERVER_IS_SOURCE_OF_TRUTH is true, returning null'); return null;