mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-28 12:39:54 +02:00
Update Document360 Connector (#1113)
expects primary_owners to be a list of dictionaries, but it's being provided with a list of strings instead. https://github.com/danswer-ai/danswer/issues/1111
This commit is contained in:
parent
b38be416b7
commit
59c416b777
@ -130,7 +130,7 @@ class Document360Connector(LoadConnector, PollConnector):
|
||||
continue
|
||||
|
||||
authors = [
|
||||
author["email_id"]
|
||||
{"name": author.get("name", "Unknown"), "email": author["email_id"]}
|
||||
for author in article_details.get("authors", [])
|
||||
if author["email_id"]
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user