Skip to content

Commit

Permalink
clarity (#3001)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx authored Oct 30, 2024
1 parent 5be457e commit 7384ca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/app/admin/connectors/[connector]/AddConnectorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ export default function AddConnector({

// Apply advanced configuration-specific transforms.
const advancedConfiguration: any = {
pruneFreq: (pruneFreq || defaultPruneFreqDays) * 60 * 60 * 24,
pruneFreq: (pruneFreq ?? defaultPruneFreqDays) * 60 * 60 * 24,
indexingStart: convertStringToDateTime(indexingStart),
refreshFreq: (refreshFreq || defaultRefreshFreqMinutes) * 60,
refreshFreq: (refreshFreq ?? defaultRefreshFreqMinutes) * 60,
};

// Google sites-specific handling
Expand Down

0 comments on commit 7384ca8

Please sign in to comment.