This commit is contained in:
karl.hudgell 2020-06-23 11:48:35 +01:00
parent 76f07471e6
commit 91dde65004

2
app.js
View File

@ -75,7 +75,7 @@ bot.on('message', (msg) => {
'x-rapidapi-key': process.env.RAPIDAPI_API_KEY, 'x-rapidapi-key': process.env.RAPIDAPI_API_KEY,
useQueryString: true useQueryString: true
}, },
ttl: 86400 //3 seconds ttl: 72000 //3 seconds
}; };
cachedRequest(options, function (error, response, body) { cachedRequest(options, function (error, response, body) {