Skip to content

Commit

Permalink
[MM-340] Break comment in multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ayusht2810 committed Jul 8, 2024
1 parent baa6c3d commit a9ed1fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/webhook/merge_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,10 @@ func (w *webhook) handleChannelMergeRequest(ctx context.Context, event *gitlab.M
return res, nil
}

// calculateUserDiffs function takes previousUsers and currentUsers of an event, finds the change in the user list, and returns the updated current user list.
/*
calculateUserDiffs function takes previousUsers and currentUsers of an event,
finds the change in the user list, and returns the updated current user list.
*/
func (w *webhook) calculateUserDiffs(previousUsers, currentUsers []*gitlab.EventUser) []string {
mapPreviousUsers := map[int]*gitlab.EventUser{}
updatedCurrentUsers := []string{}
Expand Down

0 comments on commit a9ed1fb

Please sign in to comment.