Browse Source

Update index.js

master
Kiko Beats 3 years ago
committed by GitHub
parent
commit
78f481d39c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/core/src/index.js

1
packages/core/src/index.js

@ -108,7 +108,6 @@ class Keyv extends EventEmitter {
set (key, value, ttl) {
if (value === undefined) return false
const keyPrefixed = this._getKeyPrefix(key)
if (typeof ttl === 'undefined') {
ttl = this.options.ttl

Loading…
Cancel
Save