chore: build
Backend - Build & Lint / build (push) Successful in 31m45s

This commit is contained in:
Xor290
2026-09-30 18:24:57 +02:00
parent f371cd0874
commit 08be8f78a3
+1 -1
View File
@@ -274,7 +274,7 @@ func (d *Database) GetAllCommands(status, username string) ([]map[string]any, er
gdb = gdb.Where("c.username = ?", username)
}
if err := gdb.Order("c.created_at DESC").Limit(1000).Scan(&rows).Error; err != nil {
if err := gdb.Order("c.created_at DESC").Scan(&rows).Error; err != nil {
return nil, fmt.Errorf("erreur lors de la récupération des commandes: %w", err)
}