Skip to content

Commit

Permalink
lastname -> surname
Browse files Browse the repository at this point in the history
  • Loading branch information
HauklandJ committed Dec 3, 2024
1 parent ba1536b commit 608df4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/PersonLookup/PersonLookupComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 608df4b

Please sign in to comment.