Skip to content

Commit

Permalink
Fix hubspot connector
Browse files Browse the repository at this point in the history
  • Loading branch information
Weves committed Jan 24, 2024
1 parent d07647c commit 7174ea3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions web/src/app/admin/connectors/hubspot/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,14 @@ const Main = () => {
<div className="flex">
<ConnectorForm<HubSpotConfig>
nameBuilder={() => "HubSpotConnector"}
ccPairNameBuilder={() => "HubSpotConnector"}
source="hubspot"
inputType="poll"
formBody={null}
validationSchema={Yup.object().shape({})}
initialValues={{}}
refreshFreq={10 * 60} // 10 minutes
onSubmit={async (isSuccess, responseJson) => {
if (isSuccess && responseJson) {
await linkCredential(responseJson.id, hubSpotCredential.id);
mutate("/api/manage/admin/connector/indexing-status");
}
}}
credentialId={hubSpotCredential.id}
/>
</div>
</>
Expand Down

1 comment on commit 7174ea3

@vercel
Copy link

@vercel vercel bot commented on 7174ea3 Jan 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.