feat(sla): persist applied sla on conversations
This commit is contained in:
@@ -486,6 +486,8 @@ func Bootstrap(env string) (*App, error) {
|
||||
inboxMemberService := service.NewInboxMemberService(inboxMemberRepo)
|
||||
accountUserRepo := repository.NewAccountUserRepo(db)
|
||||
conversationService := service.NewConversationService(conversationRepo, messageRepo, channelDispatcher, inboxMemberService, accountUserRepo, teamRepo, teamMemberRepo)
|
||||
appliedSlaService := service.NewAppliedSlaService(appliedSlaRepo, slaEventRepo, slaPolicyRepo, conversationRepo)
|
||||
conversationService.SetAppliedSlaService(appliedSlaService)
|
||||
conversationParticipantService := service.NewConversationParticipantService(conversationParticipantRepo, conversationRepo)
|
||||
draftMessageService := service.NewDraftMessageService(draftMessageRepo, conversationRepo)
|
||||
inboxService := service.NewInboxService(inboxRepo, agentBotInboxRepo, agentBotRepo, campaignRepo, webhookSubRepo, waService, waRepo)
|
||||
|
||||
Reference in New Issue
Block a user