Created
August 12, 2022 15:55
-
-
Save jsanta/75d00e65793f4c6adcc765132fe39369 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/strapi-plugin-rest-cache/server/services/cacheStore.js b/node_modules/strapi-plugin-rest-cache/server/services/cacheStore.js | |
index 97352f1..5476520 100644 | |
--- a/node_modules/strapi-plugin-rest-cache/server/services/cacheStore.js | |
+++ b/node_modules/strapi-plugin-rest-cache/server/services/cacheStore.js | |
@@ -134,8 +134,8 @@ function createCacheStoreService({ strapi }) { | |
} | |
return keys | |
- .filter((key) => keysPrefixRe.test(key)) | |
- .map((key) => key.replace(keysPrefixRe, '')); | |
+ .filter((key) => keysPrefixRe.test(key)); | |
+ // .map((key) => key.replace(keysPrefixRe, '')); | |
}); | |
} catch (error) { | |
strapi.log.error(`REST Cache provider errored:`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment