We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fade598 commit f3c8fcbCopy full SHA for f3c8fcb
src/index.ts
@@ -1,6 +1,7 @@
1
import Bottleneck from "bottleneck";
2
import fetch, { Response } from 'node-fetch';
3
import NodeCache from 'node-cache';
4
+import redis from 'redis';
5
6
interface AccessTokenInfo {
7
access_token: AccessToken
@@ -402,6 +403,7 @@ class Fast42 {
402
403
port: redisConfig.port,
404
password: redisConfig.password,
405
},
406
+ Redis: redis,
407
408
// Hourly rate limit
409
reservoir: limit.hourly_remaining,
0 commit comments