Skip to content

Commit 384a769

Browse files
committed
query update
1 parent c472b6e commit 384a769

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/sql/repository/AppListingRepository.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ func (impl AppListingRepositoryImpl) FetchOverviewAppsByEnvironment(envId, limit
161161
ORDER BY a.app_name `
162162
queryParams := []interface{}{envId, envId}
163163
if limit > 0 {
164-
query += fmt.Sprintf("LIMIT ?")
164+
query += fmt.Sprintf("LIMIT ? ")
165165
queryParams = append(queryParams, limit)
166166
}
167167
if offset > 0 {
168-
query += fmt.Sprintf("OFFSET ?")
168+
query += fmt.Sprintf("OFFSET ? ")
169169
queryParams = append(queryParams, offset)
170170
}
171171
var envContainers []*AppView.AppEnvironmentContainer

0 commit comments

Comments
 (0)