Skip to content

Commit

Permalink
fixing checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-fs committed Feb 20, 2020
1 parent 252fc00 commit 36c29a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/checkout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CheckoutData } from '../types/checkout';

const validateCheckout = (checkoutData: CheckoutData) => {
if (checkoutData.paymentInfo.billingAddress.street2 === undefined) {
throw new Error('billing address street 2 is required');
//throw new Error('billing address street 2 is required');
}
};

Expand Down

0 comments on commit 36c29a4

Please sign in to comment.