4
0
forked from crowetic/commerce

Hook fixes and update the customer after an operation

This commit is contained in:
Luis Alvarez
2020-10-23 21:49:33 -05:00
parent 89e7793d10
commit dca8f281ab
6 changed files with 31 additions and 15 deletions

View File

@@ -43,8 +43,6 @@ const getLoggedInCustomer: CustomersHandlers['getLoggedInCustomer'] = async ({
)
const { customer } = data
console.log('CUSTOMER', customer)
if (!customer) {
return res.status(400).json({
data: null,