aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-util/src/wallet-types.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts
index 233c95047..2e26b79ef 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -2427,8 +2427,8 @@ export interface AcceptPeerPullPaymentResponse {
export const codecForConfirmPeerPushPaymentRequest =
(): Codec<ConfirmPeerPushCreditRequest> =>
buildCodecForObject<ConfirmPeerPushCreditRequest>()
- .property("peerPushPaymentIncomingId", codecForString())
- .property("transactionId", codecForString())
+ .property("peerPushPaymentIncomingId", codecOptional(codecForString()))
+ .property("transactionId", codecOptional(codecForString()))
.build("ConfirmPeerPushCreditRequest");
export interface ConfirmPeerPullDebitRequest {