@@ -12,7 +12,7 @@ import (
1212 "github.com/ErikKalkoken/evebuddy/internal/app/storage"
1313 "github.com/ErikKalkoken/evebuddy/internal/optional"
1414 "github.com/ErikKalkoken/evebuddy/internal/set"
15- "github.com/ErikKalkoken/evebuddy/internal/xesi "
15+ "github.com/ErikKalkoken/evebuddy/internal/xgoesi "
1616 "github.com/ErikKalkoken/evebuddy/internal/xiter"
1717)
1818
@@ -192,7 +192,7 @@ func (s *CharacterService) UpdateOrCreateCharacterFromSSO(ctx context.Context, s
192192 Scopes : set .Of (ssoToken .Scopes ... ),
193193 TokenType : ssoToken .TokenType ,
194194 }
195- ctx = xesi .NewContextWithAuth (ctx , token .CharacterID , token .AccessToken )
195+ ctx = xgoesi .NewContextWithAuth (ctx , token .CharacterID , token .AccessToken )
196196 character , _ , err := s .eus .UpdateOrCreateCharacterESI (ctx , token .CharacterID )
197197 if err != nil {
198198 return nil , err
@@ -234,7 +234,7 @@ func (s *CharacterService) updateLocationESI(ctx context.Context, arg app.Charac
234234 return s .updateSectionIfChanged (
235235 ctx , arg ,
236236 func (ctx context.Context , characterID int32 ) (any , error ) {
237- ctx = xesi .NewContextWithOperationID (ctx , "GetCharactersCharacterIdLocation" )
237+ ctx = xgoesi .NewContextWithOperationID (ctx , "GetCharactersCharacterIdLocation" )
238238 location , _ , err := s .esiClient .ESI .LocationApi .GetCharactersCharacterIdLocation (ctx , characterID , nil )
239239 if err != nil {
240240 return false , err
@@ -270,7 +270,7 @@ func (s *CharacterService) updateOnlineESI(ctx context.Context, arg app.Characte
270270 return s .updateSectionIfChanged (
271271 ctx , arg ,
272272 func (ctx context.Context , characterID int32 ) (any , error ) {
273- ctx = xesi .NewContextWithOperationID (ctx , "GetCharactersCharacterIdOnline" )
273+ ctx = xgoesi .NewContextWithOperationID (ctx , "GetCharactersCharacterIdOnline" )
274274 online , _ , err := s .esiClient .ESI .LocationApi .GetCharactersCharacterIdOnline (ctx , characterID , nil )
275275 if err != nil {
276276 return false , err
@@ -293,7 +293,7 @@ func (s *CharacterService) updateShipESI(ctx context.Context, arg app.CharacterS
293293 return s .updateSectionIfChanged (
294294 ctx , arg ,
295295 func (ctx context.Context , characterID int32 ) (any , error ) {
296- ctx = xesi .NewContextWithOperationID (ctx , "GetCharactersCharacterIdShip" )
296+ ctx = xgoesi .NewContextWithOperationID (ctx , "GetCharactersCharacterIdShip" )
297297 ship , _ , err := s .esiClient .ESI .LocationApi .GetCharactersCharacterIdShip (ctx , characterID , nil )
298298 if err != nil {
299299 return false , err
@@ -320,7 +320,7 @@ func (s *CharacterService) updateWalletBalanceESI(ctx context.Context, arg app.C
320320 return s .updateSectionIfChanged (
321321 ctx , arg ,
322322 func (ctx context.Context , characterID int32 ) (any , error ) {
323- ctx = xesi .NewContextWithOperationID (ctx , "GetCharactersCharacterIdWallet" )
323+ ctx = xgoesi .NewContextWithOperationID (ctx , "GetCharactersCharacterIdWallet" )
324324 balance , _ , err := s .esiClient .ESI .WalletApi .GetCharactersCharacterIdWallet (ctx , characterID , nil )
325325 if err != nil {
326326 return false , err
0 commit comments