We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2227a7 commit ff8d0d3Copy full SHA for ff8d0d3
1 file changed
src/app/actions/external-accounts.ts
@@ -24,8 +24,7 @@ export async function createBridgeExternalAccountForGuest(
24
const data = await response.json()
25
26
if (data?.code === 'invalid_parameters') {
27
- const source =
28
- typeof data.source === 'string' ? data.source : data?.source?.key
+ const source = typeof data.source === 'string' ? data.source : data?.source?.key
29
return { error: data?.message ?? 'Invalid parameters', source }
30
}
31
0 commit comments