Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix: marks PaymentMethodDetails as optional
Browse files Browse the repository at this point in the history
Closes #293
  • Loading branch information
moltar committed Feb 1, 2021
1 parent b7d5212 commit eaeb00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sections/orders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export const Order = Codec.interface({
),
),
PaymentMethod: optional(string),
PaymentMethodDetails: ensureArray('PaymentMethodDetail', string),
PaymentMethodDetails: optional(ensureArray('PaymentMethodDetail', string)),
IsReplacementOrder: optional(boolean),
ReplacedOrderId: optional(string),
MarketplaceId: optional(string),
Expand Down

0 comments on commit eaeb00d

Please sign in to comment.