mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-08 03:48:14 +02:00
fix: Consider Hubspot ticket notes body
This commit is contained in:
parent
6be5f51440
commit
7810e931f3
@ -94,6 +94,8 @@ class HubSpotConnector(LoadConnector, PollConnector):
|
||||
note = api_client.crm.objects.notes.basic_api.get_by_id(
|
||||
note_id=note.id, properties=["content", "hs_body_preview"]
|
||||
)
|
||||
if note.properties["hs_body_preview"] is None:
|
||||
continue
|
||||
associated_notes.append(note.properties["hs_body_preview"])
|
||||
|
||||
associated_emails_str = " ,".join(associated_emails)
|
||||
|
Loading…
x
Reference in New Issue
Block a user