diff --git a/app/http/endpoints/api/panellist.go b/app/http/endpoints/api/panellist.go index 86ce9b9..8e36efb 100644 --- a/app/http/endpoints/api/panellist.go +++ b/app/http/endpoints/api/panellist.go @@ -38,7 +38,8 @@ func ListPanels(ctx *gin.Context) { group, _ := errgroup.WithContext(context.Background()) for i, p := range panels { - group.Go(func() (err error) { + i := i + group.Go(func() error { var mentions []string // get role mentions