Skip to content

Commit aebdbbe

Browse files
committed
Use config to get access token in TeamService
Replaces the call to self.get_access_token() with config.get_access_token() in the TeamService class. This change ensures the access token is retrieved from the config object, possibly improving consistency or fixing a bug related to token acquisition.
1 parent 35aa973 commit aebdbbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/v3/common/services/team_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ async def list_model_deployments(self) -> List[Dict[str, Any]]:
292292
return []
293293

294294
try:
295-
token = await self.get_access_token()
295+
token = await config.get_access_token()
296296

297297
url = (
298298
f"https://management.azure.com/subscriptions/{self.subscription_id}/"

0 commit comments

Comments
 (0)