Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/sql/repository/app/AppRepository.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ func (repo AppRepositoryImpl) FindAppsByTeamId(teamId int) ([]*App, error) {
}

func (repo AppRepositoryImpl) FindAppsByTeamIds(teamId []int, appType string) ([]App, error) {
onlyDevtronCharts := false
onlyDevtronCharts := 0
if len(appType) > 0 && appType == DevtronChart {
onlyDevtronCharts = true
onlyDevtronCharts = 1
}
var apps []App
err := repo.dbConnection.Model(&apps).Column("app.*", "Team").Where("team_id in (?)", pg.In(teamId)).
Expand Down