Added UserId to participant model

This commit is contained in:
2025-10-19 19:16:41 +11:00
parent 643c5cc695
commit 7bf15cce48
3 changed files with 6 additions and 3 deletions

View File

@@ -49,13 +49,14 @@ func ExtractWithoutAttributes(base models.AnalyticsConversationWithoutAttributes
for _, p := range base.Participants {
participant := models.DBParticipant{
ConnectedTime: nil,
ConversationId: base.ConversationId,
EndTime: nil,
// ConnectedTime: nil,
ConversationId: base.ConversationId,
// EndTime: nil,
ExternalContactId: &p.ExternalContactId,
Id: p.ParticipantId,
Name: &p.ParticipantName,
Purpose: &p.Purpose,
UserId: &p.UserId,
}
participants = append(participants, participant)