File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments