Skip to content

Commit

Permalink
Make param plural
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Brugger committed Sep 1, 2023
1 parent 2a24ccc commit 27a3ee6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/autocast/src/autocast.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { logInfo } from '@flatfile/util-common'

export function autocast(
sheetFilter: { sheetSlug?: string; sheetId?: string },
fieldFilter?: string[],
fieldFilters?: string[],
options?: {
chunkSize?: number
parallel?: number
Expand All @@ -31,8 +31,8 @@ export function autocast(
}

const castableFields = sheet.data.config.fields.filter((field) =>
fieldFilter
? fieldFilter.includes(field.key)
fieldFilters
? fieldFilters.includes(field.key)
: field.type !== 'string'
)
records.forEach((record) => {
Expand Down

0 comments on commit 27a3ee6

Please sign in to comment.