Skip to content

Commit

Permalink
chore: revert config.functionName change
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamorosi committed Mar 30, 2023
1 parent f83129e commit 1ccf9e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ abstract class BasePersistenceLayer implements BasePersistenceLayerInterface {
public configure(config: BasePersistenceLayerOptions): void {
const { config: idempotencyConfig } = config;

if (config?.functionName?.trim() !== '') {
if (config?.functionName && config.functionName.trim() !== '') {
this.idempotencyKeyPrefix = `${this.idempotencyKeyPrefix}.${config.functionName}`;
}

Expand Down

0 comments on commit 1ccf9e7

Please sign in to comment.