We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ttl
1 parent 8d22101 commit 07a6dc3Copy full SHA for 07a6dc3
app/plugins/charging-module-token-cache.plugin.js
@@ -21,7 +21,7 @@ const ChargingModuleTokenCachePlugin = {
21
// Otherwise, set the expiry time to 0 to avoid caching the unsuccessful attempt
22
flags.ttl = token.expiresIn ? _setExpiryTime(token.expiresIn) : 0
23
24
- return { ...token, ttl: flags.ttl }
+ return token
25
}, {
26
cache: {
27
// We need to set an expiry time here but we will always override it
0 commit comments