2
0

(sheets) Reset timeout after Google Sheets execution

This commit is contained in:
Baptiste Arnaud
2024-01-15 11:14:14 +01:00
parent 0b00fa7533
commit a44857e03b

View File

@ -18,7 +18,10 @@ export const executeIntegration =
async (block: IntegrationBlock): Promise<ExecuteIntegrationResponse> => {
switch (block.type) {
case IntegrationBlockType.GOOGLE_SHEETS:
return executeGoogleSheetBlock(state, block)
return {
...(await executeGoogleSheetBlock(state, block)),
startTimeShouldBeUpdated: true,
}
case IntegrationBlockType.CHATWOOT:
return executeChatwootBlock(state, block)
case IntegrationBlockType.GOOGLE_ANALYTICS: