INFRA-2866 | moving update team modal ack before async workflow (#389)
This commit is contained in:
@@ -78,6 +78,9 @@ func (incidentUpdateTypeAction *IncidentUpdateTypeAction) IncidentUpdateType(cal
|
||||
return
|
||||
}
|
||||
|
||||
var payload interface{}
|
||||
incidentUpdateTypeAction.socketModeClient.Ack(*request, payload)
|
||||
|
||||
teamID := incidentUpdateTypeAction.buildUpdateIncidentTypeRequest(callback.View.State.Values)
|
||||
|
||||
if err := incidentUpdateTypeAction.incidentServiceV2.UpdateTeamId(
|
||||
@@ -93,9 +96,6 @@ func (incidentUpdateTypeAction *IncidentUpdateTypeAction) IncidentUpdateType(cal
|
||||
); err != nil {
|
||||
logger.Error(fmt.Sprintf("error in updating severity: %v", err))
|
||||
}
|
||||
|
||||
var payload interface{}
|
||||
incidentUpdateTypeAction.socketModeClient.Ack(*request, payload)
|
||||
}
|
||||
|
||||
func (incidentUpdateTypeAction *IncidentUpdateTypeAction) addDefaultUsersToIncident(channelId string, teamId uint) error {
|
||||
|
||||
Reference in New Issue
Block a user