Skip to content

Commit 81369d9

Browse files
authored
Merge pull request #77 from linuxfoundation/andrest50/fix-past-meeting-committee-tags
fix(meetings): populate committee_uid tags before sending past meeting indexer message
2 parents b0ae9c2 + b7c4663 commit 81369d9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

cmd/lfx-v1-sync-helper/handlers_meetings.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,12 +1285,6 @@ func handleZoomPastMeetingUpdate(ctx context.Context, key string, v1Data map[str
12851285
indexerAction = MessageActionUpdated
12861286
}
12871287

1288-
tags := getPastMeetingTags(pastMeeting)
1289-
if err := sendIndexerMessage(ctx, IndexV1PastMeetingSubject, indexerAction, pastMeeting, tags); err != nil {
1290-
funcLogger.With(errKey, err).ErrorContext(ctx, "failed to send past meeting indexer message")
1291-
return
1292-
}
1293-
12941288
// Try to get committee mappings from the index first
12951289
var committees []string
12961290
pastMeeting.Committees = []Committee{}
@@ -1339,6 +1333,12 @@ func handleZoomPastMeetingUpdate(ctx context.Context, key string, v1Data map[str
13391333
}
13401334
}
13411335

1336+
tags := getPastMeetingTags(pastMeeting)
1337+
if err := sendIndexerMessage(ctx, IndexV1PastMeetingSubject, indexerAction, pastMeeting, tags); err != nil {
1338+
funcLogger.With(errKey, err).ErrorContext(ctx, "failed to send past meeting indexer message")
1339+
return
1340+
}
1341+
13421342
accessMsg := PastMeetingAccessMessage{
13431343
UID: uid,
13441344
MeetingUID: pastMeeting.MeetingID,

0 commit comments

Comments
 (0)