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 06bb1cc commit b479a08Copy full SHA for b479a08
packages/idempotency/src/middleware/makeHandlerIdempotent.ts
@@ -117,15 +117,18 @@ const makeHandlerIdempotent = (
117
? options.config
118
: new IdempotencyConfig({});
119
const persistenceStore = options.persistenceStore;
120
+ const keyPrefix = options.keyPrefix;
121
persistenceStore.configure({
122
config: idempotencyConfig,
123
+ keyPrefix: keyPrefix,
124
});
125
126
const idempotencyHandler = new IdempotencyHandler({
127
functionToMakeIdempotent: /* v8 ignore next */ () => ({}),
128
functionArguments: [],
129
idempotencyConfig,
130
persistenceStore,
131
+ keyPrefix,
132
functionPayloadToBeHashed: undefined,
133
134
setIdempotencyHandlerInRequestInternal(request, idempotencyHandler);
0 commit comments