mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-03 03:31:09 +02:00
Fix hubspot connector
This commit is contained in:
parent
d07647c597
commit
7174ea3908
@ -155,18 +155,14 @@ const Main = () => {
|
|||||||
<div className="flex">
|
<div className="flex">
|
||||||
<ConnectorForm<HubSpotConfig>
|
<ConnectorForm<HubSpotConfig>
|
||||||
nameBuilder={() => "HubSpotConnector"}
|
nameBuilder={() => "HubSpotConnector"}
|
||||||
|
ccPairNameBuilder={() => "HubSpotConnector"}
|
||||||
source="hubspot"
|
source="hubspot"
|
||||||
inputType="poll"
|
inputType="poll"
|
||||||
formBody={null}
|
formBody={null}
|
||||||
validationSchema={Yup.object().shape({})}
|
validationSchema={Yup.object().shape({})}
|
||||||
initialValues={{}}
|
initialValues={{}}
|
||||||
refreshFreq={10 * 60} // 10 minutes
|
refreshFreq={10 * 60} // 10 minutes
|
||||||
onSubmit={async (isSuccess, responseJson) => {
|
credentialId={hubSpotCredential.id}
|
||||||
if (isSuccess && responseJson) {
|
|
||||||
await linkCredential(responseJson.id, hubSpotCredential.id);
|
|
||||||
mutate("/api/manage/admin/connector/indexing-status");
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user