mirror of
https://github.com/vercel/commerce.git
synced 2025-03-29 00:36:04 +00:00
* Add ordercloud provider * Fix provider errors * Make submit checkout optional * Make submit checkout optional * Remove nullables when creating endpoint type * Update readme * Log checkout error * Log error * Save token to cookie * Update fetch rest * Use token at checkout Co-authored-by: Luis Alvarez <luis@vercel.com>
10 lines
231 B
TypeScript
10 lines
231 B
TypeScript
import type { CustomerAddressEndpoint } from '.'
|
|
|
|
const removeItem: CustomerAddressEndpoint['handlers']['removeItem'] = async ({
|
|
res,
|
|
}) => {
|
|
return res.status(200).json({ data: null, errors: [] })
|
|
}
|
|
|
|
export default removeItem
|