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

This commit is contained in:
Xor290
2026-10-03 13:27:01 +02:00
parent f84dc153ec
commit 2278423861
8 changed files with 288 additions and 13 deletions
+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)
}