🚸 (bot) Avoid waiting for blocks with no returned data

This commit is contained in:
Baptiste Arnaud
2022-11-16 15:21:09 +01:00
parent 6725c17a02
commit 2bd7cee58e
7 changed files with 36 additions and 32 deletions

View File

@@ -12,7 +12,7 @@ export const executeIntegration = ({
}: {
block: IntegrationBlock
context: IntegrationState
}): Promise<string | undefined> => {
}): Promise<string | undefined> | string | undefined => {
switch (block.type) {
case IntegrationBlockType.GOOGLE_SHEETS:
return executeGoogleSheetBlock(block, context)