Skip to content

Commit 393685a

Browse files
tolutheodreamorosi
authored andcommitted
set base persitence layer to undefined.
1 parent 11b2bf0 commit 393685a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/idempotency/src/persistence/BasePersistenceLayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ abstract class BasePersistenceLayer implements BasePersistenceLayerInterface {
154154
}
155155

156156
if (this.getFromCache(idempotencyRecord.idempotencyKey)) {
157-
throw new IdempotencyItemAlreadyExistsError();
157+
throw new IdempotencyItemAlreadyExistsError('', undefined);
158158
}
159159

160160
await this._putRecord(idempotencyRecord);

0 commit comments

Comments
 (0)