From 608df4b49a382a7434dfb300184406512f4f37d6 Mon Sep 17 00:00:00 2001 From: HauklandJ Date: Tue, 3 Dec 2024 12:40:38 +0100 Subject: [PATCH] lastname -> surname --- src/layout/PersonLookup/PersonLookupComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {