diff --git a/src/redis-wrapper.js b/src/redis-wrapper.js index 4556870..d41dc4c 100644 --- a/src/redis-wrapper.js +++ b/src/redis-wrapper.js @@ -553,9 +553,9 @@ const _getIntegrationMode = async () => { const getIntegrationMode = async () => { if (integrationMode === null) { - integrationMode = await _getIntegrationMode(); + integrationMode = _getIntegrationMode(); } - return integrationMode; + return await integrationMode; }; module.exports = {