Skip to content

Commit

Permalink
reconstruct buyer
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinfirman authored and michenly committed May 6, 2024
1 parent 20de57e commit ed62538
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/b2b/app/routes/products.$handle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ export async function loader({params, request, context}: LoaderFunctionArgs) {
const buyerVariables =
buyer?.companyLocationId && buyer?.customerAccessToken
? {
buyer,
buyer: {
companyLocationId: buyer.companyLocationId,
customerAccessToken: buyer.customerAccessToken,
},
}
: {};

Expand Down

0 comments on commit ed62538

Please sign in to comment.