Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Dec 13, 2024
1 parent 41da29d commit 8964876
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 44 deletions.
231 changes: 192 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"minimist-string": "^1.0.2",
"mongoose": "^6.6.1",
"nanoid": "^3.3.4",
"redis": "^3.1.2",
"redis": "^4.7.0",
"uuid": "^9.0.0",
"vm2": "^3.9.13",
"npm": "^6.14.11",
Expand Down
8 changes: 4 additions & 4 deletions tybotRoute/TdCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class TdCache {
* Connect redis client
*/
this.client = redis.createClient(
{
url: `redis://${this.redis_host}:${this.redis_port}`,
password: this.redis_password
});
{
url: `redis://${this.redis_host}:${this.redis_port}`,
password: this.redis_password
});
this.client.on('error', err => {
reject(err);
if (callback) {
Expand Down

0 comments on commit 8964876

Please sign in to comment.