Skip to content

Commit

Permalink
[API-644] Add optional zip code to checkout cart
Browse files Browse the repository at this point in the history
  • Loading branch information
opsb committed Jan 12, 2023
1 parent 7c6ea10 commit bf05859
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ class Cart extends Node<Graph.Cart> {
cvv: string;
exp_month: number;
exp_year: number;
address_postal_code?: string;
};
}
| { token: string },
Expand Down Expand Up @@ -364,6 +365,7 @@ class Cart extends Node<Graph.Cart> {
cvv: string;
exp_month: number;
exp_year: number;
address_postal_code?: string;
};
}
| { token: string }
Expand Down
2 changes: 1 addition & 1 deletion tests/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { Location } from "../src/locations";
import { createHmac } from "crypto";

const businessId = "63b60ecb-6d1e-4bb6-87ad-3cb52ffe09b4";
const apiKey = process.env.SANDBOX_API_KEY;
const apiKey = process.env.SANDBOX_API_KEY!;
const anon = new Blvd(apiKey, businessId);

describe("appointments", () => {
Expand Down

0 comments on commit bf05859

Please sign in to comment.