dyne / restroom-mw

🛠 Easy REST API builder executing Zencode
https://restroom.dyne.org
GNU Affero General Public License v3.0
3 stars 11 forks source link

TypeError: getRedisClient is not a function #158

Closed andrea-dintino closed 2 years ago

andrea-dintino commented 2 years ago

Happens on restroom-mw version: 0.13.1-135edba.20

Code:

Rule caller restroom-mw
Scenario 'ecdh': Create the key
Given nothing
When I create the ecdh key
Then print data

ERROR:

1652531526149I[ZENROOM EXECUTION ERROR FOR CONTRACT dyneebsi/1652531526150]
1652531526149ITypeError: getRedisClient is not a function
1652531526149Iat /home/apiroom/apiroom/node_modules/@restroom-mw/redis/dist/index.js:88:35
1652531526149Iat Generator.next (<anonymous>)
1652531526149Iat /home/apiroom/apiroom/node_modules/@restroom-mw/redis/dist/index.js:31:71
1652531526149Iat new Promise (<anonymous>)
1652531526149Iat __awaiter (/home/apiroom/apiroom/node_modules/@restroom-mw/redis/dist/index.js:27:12)
1652531526149Iat /home/apiroom/apiroom/node_modules/@restroom-mw/redis/dist/index.js:86:28
1652531526149Iat /home/apiroom/apiroom/node_modules/@restroom-mw/core/dist/hooks.js:26:19
1652531526149Iat Generator.next (<anonymous>)
1652531526149Iat fulfilled (/home/apiroom/apiroom/node_modules/@restroom-mw/core/dist/hooks.js:5:58)