prettier fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use server";
|
||||
'use server';
|
||||
|
||||
import { retrieveCart, updateCart, updateLineItem } from "@lib/data/cart";
|
||||
import { retrieveCart, updateCart, updateLineItem } from '@lib/data/cart';
|
||||
|
||||
export const updateCartPartnerLocation = async ({
|
||||
cartId,
|
||||
@@ -15,7 +15,7 @@ export const updateCartPartnerLocation = async ({
|
||||
}) => {
|
||||
const cart = await retrieveCart(cartId);
|
||||
if (!cart) {
|
||||
throw new Error("Cart not found");
|
||||
throw new Error('Cart not found');
|
||||
}
|
||||
|
||||
for (const lineItemId of lineIds) {
|
||||
@@ -35,4 +35,4 @@ export const updateCartPartnerLocation = async ({
|
||||
partner_location_id: partnerLocationId,
|
||||
},
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user