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"`
|
ParticipantId string `json:"participantId"`
|
||||||
ParticipantName string `json:"participantName"`
|
ParticipantName string `json:"participantName"`
|
||||||
Purpose string `json:"purpose"`
|
Purpose string `json:"purpose"`
|
||||||
|
UserId string `json:"userId"`
|
||||||
Sessions []struct {
|
Sessions []struct {
|
||||||
ANI string `json:"ani"`
|
ANI string `json:"ani"`
|
||||||
Direction string `json:"direction"`
|
Direction string `json:"direction"`
|
||||||
|
|||||||
@@ -313,6 +313,7 @@ func ExtractWithAttributes(base models.AnalyticsConversationWithAttributes) (mod
|
|||||||
Name: &p.ParticipantName,
|
Name: &p.ParticipantName,
|
||||||
Purpose: &p.Purpose,
|
Purpose: &p.Purpose,
|
||||||
Attributes: &attributesBytesStr,
|
Attributes: &attributesBytesStr,
|
||||||
|
UserId: &p.UserId,
|
||||||
}
|
}
|
||||||
participants = append(participants, participant)
|
participants = append(participants, participant)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user