Skip to content

Commit

Permalink
Refactor code vercel#2
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhnt1706 committed Mar 16, 2022
1 parent dc7a130 commit 710e174
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions framework/commerce/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { NextApiHandler } from 'next'
import type { FetchOptions } from '@vercel/fetch'
import type Response from '@vercel/fetch'
import type { FetchOptions, Response } from '@vercel/fetch'
import type { APIEndpoint, APIHandler } from './utils/types'
import type { CartSchema } from '../types/cart'
import type { CustomerSchema } from '../types/customer'
Expand Down
1 change: 0 additions & 1 deletion framework/commerce/types/cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export type Cart = {
// The currency used for this cart
currency: { code: string }
// Specifies if taxes are included in the line items.
taxesIncluded: boolean
lineItems: LineItem[]
// The sum of all the prices of all the items in the cart.
// Duties, taxes, shipping and discounts excluded.
Expand Down

0 comments on commit 710e174

Please sign in to comment.