File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/support/slack/actions Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -653,6 +653,8 @@ export function onboardLLMOModal(lambdaContext) {
653653 return ;
654654 }
655655
656+ await ack ( { response_action : 'clear' } ) ;
657+
656658 log . info ( 'Onboarding request with parameters:' , {
657659 brandName,
658660 imsOrgId,
@@ -662,10 +664,6 @@ export function onboardLLMOModal(lambdaContext) {
662664 originalThreadTs,
663665 } ) ;
664666
665- // eslint-disable-next-line max-statements-per-line
666- await new Promise ( ( resolve ) => { setTimeout ( resolve , 500 ) ; } ) ;
667- await ack ( ) ;
668-
669667 // Create a slack context for the onboarding process
670668 // Use original channel/thread if available, otherwise fall back to DM
671669 const responseChannel = originalChannel || body . user . id ;
@@ -890,7 +888,9 @@ export function updateIMSOrgModal(lambdaContext) {
890888 return ;
891889 }
892890
893- await ack ( ) ;
891+ await ack ( {
892+ response_action : 'clear' ,
893+ } ) ;
894894 const responseChannel = originalChannel ;
895895 const responseThreadTs = originalThreadTs ;
896896 const { Site } = dataAccess ;
You can’t perform that action at this time.
0 commit comments