Fix build errors

This commit is contained in:
cond0r
2021-05-13 16:10:09 +03:00
parent e7d0f56e85
commit bff94e73ae
22 changed files with 87 additions and 458 deletions

View File

@@ -47,7 +47,7 @@ export const handler = {
}
const response = await fetch({
...options,
variables: [item.itemId, { quantity: item.quantity }],
variables: [itemId, { quantity: item.quantity }],
})
return checkoutToCart(response)
@@ -79,7 +79,6 @@ export const handler = {
const data = await fetch({
input: {
item: {
itemId,
productId,
variantId,
quantity: input.quantity,