We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d64cd95 commit d66731fCopy full SHA for d66731f
packages/idempotency/src/persistence/PersistenceLayer.ts
@@ -34,7 +34,9 @@ abstract class PersistenceLayer implements PersistenceLayerInterface {
34
* @param {PersistenceLayerConfigureOptions} options - configuration object for the persistence layer
35
*/
36
public configure(options?: PersistenceLayerConfigureOptions): void {
37
- if (options?.functionName && options.functionName.trim() !== '') this.idempotencyKeyPrefix = `${this.idempotencyKeyPrefix}.${options.functionName}`;
+ if (options?.functionName && options.functionName.trim() !== '') {
38
+ this.idempotencyKeyPrefix = `${this.idempotencyKeyPrefix}.${options.functionName}`;
39
+ }
40
}
41
42
/**
0 commit comments