diff --git a/lib/routes.js b/lib/routes.js index 8ae3d440..a9ec1b06 100644 --- a/lib/routes.js +++ b/lib/routes.js @@ -64,7 +64,7 @@ function poll (req, res, next) { } } - const terms = config.termsScreenActive ? createTerms(config) : null + const terms = config.termsScreenActive && config.termsScreenText ? createTerms(config) : null const response = { error: null, @@ -85,7 +85,7 @@ function poll (req, res, next) { crossRefVerificationThreshold: config.crossRefVerificationThreshold, frontCameraVerificationActive: config.frontCameraVerificationActive, frontCameraVerificationThreshold: config.frontCameraVerificationThreshold, - terms: terms, + terms, cassettes, twoWayMode: config.cashOutEnabled, zeroConfLimit: config.zeroConfLimit,