Skip to content

Commit 6f8f9b3

Browse files
committed
fix: Remove unnecessary fallback value
1 parent fbcf557 commit 6f8f9b3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/api/src/platforms/vtex/resolvers/validateSession.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ export const validateSession = async (
146146
hasOnlyDefaultSalesChannel: !store?.channel?.value,
147147
}),
148148
b2b: authentication?.customerId?.value
149-
? {
150-
customerId: authentication?.customerId?.value ?? '',
151-
}
149+
? { customerId: authentication.customerId.value }
152150
: null,
153151
marketingData,
154152
person: profile?.id

0 commit comments

Comments
 (0)