File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ const getPerson = async (id, generation) => {
8787 }
8888
8989 // Fetch with retry logic for transient errors
90- let lastError ;
9190 for ( let attempt = 0 ; attempt <= MAX_RETRIES ; attempt ++ ) {
9291 const result = await fscget ( `/platform/tree/persons/${ id } ` ) . catch (
9392 ( err ) => ( { _error : err } )
@@ -100,7 +99,6 @@ const getPerson = async (id, generation) => {
10099 }
101100
102101 const error = result . _error ;
103- lastError = error ;
104102
105103 // Handle "person deleted" API error - not retryable
106104 if (
Original file line number Diff line number Diff line change @@ -270,13 +270,11 @@ export const browserService = {
270270 const authCookieNames = [ 'fssessionid' , 'FS_AUTH_TOKEN' , 'Authorization' ] ;
271271
272272 let token : string | null = null ;
273- let matchedCookieName : string | null = null ;
274273
275274 for ( const cookieName of authCookieNames ) {
276275 const cookie = allCookies . find ( c => c . name === cookieName ) ;
277276 if ( cookie ) {
278277 token = cookie . value ;
279- matchedCookieName = cookieName ;
280278 console . log ( `[browser] Found FamilySearch auth token in cookie: ${ cookieName } ` ) ;
281279 break ;
282280 }
You can’t perform that action at this time.
0 commit comments