···43434444 // Use the session's built-in fetchHandler for authenticated requests
4545 // The fetchHandler automatically routes to the user's PDS using tokenSet.aud
4646- const baseClient = new AtpBaseClient(session.fetchHandler)
4646+ // We must bind it to the session to preserve 'this' context, specifically for 'getTokenSet' calls
4747+ const baseClient = new AtpBaseClient(session.fetchHandler.bind(session))
47484849 setAtp(baseClient)
4950 loadData(baseClient)