fix(security): SSRF log injection and folder permissions
This commit is contained in:
@@ -68,7 +68,9 @@ func AutoAssignWorker(database *db.Database) {
|
||||
nextCommand.CommandID, err)
|
||||
} else {
|
||||
log.Printf("✅ Commande %d auto-assignée", nextCommand.CommandID)
|
||||
database.RemoveCommandFromQueue(nextCommand.CommandID)
|
||||
if err := database.RemoveCommandFromQueue(nextCommand.CommandID); err != nil {
|
||||
log.Printf("⚠️ Impossible de retirer la commande %d de la queue: %v", nextCommand.CommandID, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user