Skip to content

Commit

Permalink
fix run trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
i.navrotskyj committed May 3, 2024
1 parent d2a6f5c commit 62d32b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/sqlstore/agent_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func (s *SqlAgentStore) AgentTriggerJob(ctx context.Context, domainId int64, use
coalesce(u.extension, '') extension,
coalesce(u.email, '') email,
coalesce(u.name::varchar, u.username) name,
u.profile as variables
coalesce(u.profile, '{}') as variables
from directory.wbt_user u
inner join call_center.cc_agent a on a.user_id = u.id
inner join call_center.cc_team_trigger tr on tr.team_id = a.team_id
Expand Down

0 comments on commit 62d32b8

Please sign in to comment.