We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc18c93 commit 4b4be32Copy full SHA for 4b4be32
package.json
@@ -65,11 +65,6 @@
65
"requires": {
66
"FeatureService": {
67
"model": "@cap-js-community/feature-toggle-library"
68
- },
69
- "redis-featureToggles": {
70
- "vcap": {
71
- "label": "redis-cache"
72
- }
73
}
74
75
src/plugin.js
@@ -171,7 +171,7 @@ const activate = async () => {
171
172
const configAuto = await _discoverFtsAutoConfig();
173
const { credentials: customRedisCredentials, options: customRedisClientOptions } =
174
- cds.requires["redis-featureToggles"] || cds.requires["redis"];
+ cds.requires["redis-featureToggles"] || cds.requires["redis"] || {};
175
176
await toggles.initializeFeatures({
177
config: envFeatureToggles?.config,
0 commit comments