Parcourir la source

add clarifying comment

Feroze Mohideen il y a 2 ans
Parent
commit
94fb6735d3
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      api/server/handlers/porter_app/list_events.go

+ 1 - 0
api/server/handlers/porter_app/list_events.go

@@ -67,6 +67,7 @@ func (p *PorterAppEventListHandler) ServeHTTP(w http.ResponseWriter, r *http.Req
 		return
 	}
 
+	// switch back to calling ListEventsByPorterAppID and remove ListEventsByPorterAppIDExcludingAppEvents when https://linear.app/porter/issue/POR-1670/fix-porter-app-app-events is resolved
 	porterAppEvents, paginatedResult, err := p.Repo().PorterAppEvent().ListEventsByPorterAppIDExcludingAppEvents(ctx, app.ID, helpers.WithPageSize(20), helpers.WithPage(int(pr.Page)))
 	if err != nil {
 		if !errors.Is(err, gorm.ErrRecordNotFound) {