diff --git a/src/layout/PersonLookup/PersonLookupComponent.tsx b/src/layout/PersonLookup/PersonLookupComponent.tsx index c4cba35ac..58171da4c 100644 --- a/src/layout/PersonLookup/PersonLookupComponent.tsx +++ b/src/layout/PersonLookup/PersonLookupComponent.tsx @@ -47,7 +47,7 @@ async function fetchPerson( if (!ssn || !name) { throw new Error('Missing ssn or name'); } - const body = { socialSecurityNumber: ssn, lastName: name }; + const body = { socialSecurityNumber: ssn, surName: name }; const url = `${appPath}/api/v1/lookup/person`; try {