From 08be8f78a397e7565cd7930c8ea6f9b7616033dd Mon Sep 17 00:00:00 2001 From: Xor290 Date: Wed, 30 Sep 2026 18:24:57 +0200 Subject: [PATCH] chore: build --- backend/gestion/db/db_commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/gestion/db/db_commands.go b/backend/gestion/db/db_commands.go index e39bbab8..d9004ca8 100644 --- a/backend/gestion/db/db_commands.go +++ b/backend/gestion/db/db_commands.go @@ -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) }