mirror of
https://github.com/vercel/commerce.git
synced 2025-06-20 06:01:21 +00:00
13 lines
323 B
TypeScript
13 lines
323 B
TypeScript
import * as mutation from './mutations'
|
|
import { CheckoutCustomerAttach } from '../schema'
|
|
|
|
export const checkoutAttach = async (fetch: any, { variables, headers }: any): Promise<CheckoutCustomerAttach> => {
|
|
const data = await fetch({
|
|
query: mutation.CheckoutAttach,
|
|
variables,
|
|
headers,
|
|
})
|
|
|
|
return data
|
|
}
|