Skip to content

Commit 057095b

Browse files
committed
remove second physical address
1 parent 1b5e9e6 commit 057095b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/smart-wallet/guides/profiles.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export default function Home() {
158158

159159
// Extract address if provided
160160
if (callbackData.physicalAddress) {
161-
const addr = callbackData.physicalAddress.physicalAddress;
161+
const addr = callbackData.physicalAddress;
162162
newResult.address = [
163163
addr.address1,
164164
addr.address2,

docs/smart-wallet/technical-reference/profiles-reference.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ Your callback API will receive a POST request with the following structure:
9494
isPrimary: boolean;
9595
};
9696
physicalAddress?: {
97-
physicalAddress: {
9897
address1: string;
9998
address2?: string;
10099
city: string;
@@ -104,10 +103,9 @@ Your callback API will receive a POST request with the following structure:
104103
name?: {
105104
firstName: string;
106105
familyName: string;
107-
};
108106
};
109-
isPrimary: boolean;
110107
};
108+
isPrimary: boolean;
111109
name?: {
112110
firstName: string;
113111
familyName: string;

0 commit comments

Comments
 (0)