chore: limit list of projects to 200

This commit is contained in:
fiftin 2024-04-22 13:22:23 +05:00
parent 5a0c9b8e8b
commit 269baf09fc
No known key found for this signature in database
GPG Key ID: 044381366A5D4731

View File

@ -27,6 +27,7 @@ func (d *SqlDb) GetAllProjects() (projects []db.Project, err error) {
query, args, err := squirrel.Select("p.*").
From("project as p").
OrderBy("p.name").
Limit(200).
ToSql()
if err != nil {