diff --git a/src/kv-cache.js b/src/kv-cache.js index b9afe46..b284531 100644 --- a/src/kv-cache.js +++ b/src/kv-cache.js @@ -1,7 +1,6 @@ class KVCache { get(key) { - const encodedKey = encodeURIComponent(key) - return GRAPHQL_ON_WORKERS.get(encodedKey) + return GRAPHQL_ON_WORKERS.get(key) } set(key, value, options) { @@ -10,8 +9,7 @@ class KVCache { if (ttl) { opts.expirationTtl = ttl } - const encodedKey = encodeURIComponent(key) - return GRAPHQL_ON_WORKERS.put(encodedKey, value, opts) + return GRAPHQL_ON_WORKERS.put(key, value, opts) } }