Added UserId to participant
This commit is contained in:
1 parent
0cee0f6c5c
commit
08f7391490
2 files changed
+2
No files matched your search
@@ -30,6 +30,7 @@ type AnalyticsConversationWithAttributes struct {
|
||||
ParticipantId string `json:"participantId"`
|
||||
ParticipantName string `json:"participantName"`
|
||||
Purpose string `json:"purpose"`
|
||||
UserId string `json:"userId"`
|
||||
Sessions []struct {
|
||||
ANI string `json:"ani"`
|
||||
Direction string `json:"direction"`
|
||||
|
||||
@@ -313,6 +313,7 @@ func ExtractWithAttributes(base models.AnalyticsConversationWithAttributes) (mod
|
||||
Name: &p.ParticipantName,
|
||||
Purpose: &p.Purpose,
|
||||
Attributes: &attributesBytesStr,
|
||||
UserId: &p.UserId,
|
||||
}
|
||||
participants = append(participants, participant)
|
||||
|
||||
|
||||
Reference in new issue
Block a user