Skip to content

Commit

Permalink
🚑️ (forge) Fix select inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Sep 6, 2024
1 parent 28326d3 commit 06bf188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/builder/src/features/forge/helpers/getFetchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { FetcherDefinition, AuthDefinition } from '@typebot.io/forge'
import { ForgedBlockDefinition } from '@typebot.io/forge-repository/types'

export const getFetchers = (blockDef: ForgedBlockDefinition) =>
blockDef.fetchers?.concat(
(blockDef.fetchers ?? []).concat(
blockDef.actions.flatMap(
(action) => (action.fetchers ?? []) as FetcherDefinition<AuthDefinition>[]
)
) ?? []
)

0 comments on commit 06bf188

Please sign in to comment.