improve config loading; remove debug
This commit is contained in:
parent
5f0b70ca42
commit
614c64646a
15 changed files with 198 additions and 193 deletions
|
|
@ -90,7 +90,6 @@ function getTx (req, res, next) {
|
|||
|
||||
function getPhoneTx (req, res, next) {
|
||||
if (req.query.phone) {
|
||||
console.log('DEBUG120: %s', req.query.phone)
|
||||
return helpers.fetchPhoneTx(req.query.phone)
|
||||
.then(r => res.json(r))
|
||||
.catch(next)
|
||||
|
|
@ -322,7 +321,6 @@ let oldVersionId = 'initial'
|
|||
function populateSettings (req, res, next) {
|
||||
const versionId = req.headers['config-version']
|
||||
if (versionId !== oldVersionId) {
|
||||
console.log('DEBUG611: %s', versionId)
|
||||
oldVersionId = versionId
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue