export async function putCart()

in frontend/src/backend/api.js [50:61]


export async function putCart(obj, quantity) {
    return getHeaders(true).then(
        headers => API.put("CartAPI", "/cart/" + obj.productId, {
            body: {
                productId: obj.productId,
                quantity: quantity,
            },
            headers: headers,
            withCredentials: true
        })
    )
}