mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
rename folder
This commit is contained in:
12
providers/saleor/utils/checkout-attach.ts
Normal file
12
providers/saleor/utils/checkout-attach.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user