Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wy65701436 committed Jul 30, 2024
1 parent 7d942e6 commit 56904f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pkg/artifact/dao/dao.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ func (d *dao) ListWithLatest(ctx context.Context, query *q.Query, pagination boo

if pagination {
sql = fmt.Sprintf(sql, "ORDER BY a.push_time DESC LIMIT ? OFFSET ?")
} else {
sql = fmt.Sprintf(sql, "")
}

var attributionValue interface{}
Expand Down

0 comments on commit 56904f8

Please sign in to comment.