diff --git a/server/webhook/merge_request.go b/server/webhook/merge_request.go index aee4da57..ecc40b31 100644 --- a/server/webhook/merge_request.go +++ b/server/webhook/merge_request.go @@ -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{}