mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-28 08:51:00 +02:00
Update connector.py
changed raise output
This commit is contained in:
parent
14a39e88e8
commit
d7f66ba8c4
@ -118,7 +118,7 @@ class TeamsConnector(LoadConnector, PollConnector):
|
|||||||
|
|
||||||
def get_all_team_objects(self) -> list[Team]:
|
def get_all_team_objects(self) -> list[Team]:
|
||||||
if self.graph_client is None:
|
if self.graph_client is None:
|
||||||
raise ConnectorMissingCredentialError("Sharepoint")
|
raise ConnectorMissingCredentialError("Teams")
|
||||||
|
|
||||||
team_object_list: list[Team] = []
|
team_object_list: list[Team] = []
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user