Skip to content

Commit

Permalink
🐛 Remove unnecessary credentialsId check in sanitizeBlock function
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Oct 28, 2024
1 parent 96af708 commit 6a02942
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/builder/src/features/typebot/helpers/sanitizers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ const sanitizeBlock =
async (block: Block): Promise<Block> => {
if (!("options" in block) || !block.options) return block;

if (!("credentialsId" in block.options) || !block.options.credentialsId)
return block;

switch (block.type) {
case IntegrationBlockType.EMAIL:
return {
Expand Down

0 comments on commit 6a02942

Please sign in to comment.