chore: fix CI

This commit is contained in:
2026-02-24 21:19:31 +01:00
parent ee59129bbd
commit a6a70bab0b
3 changed files with 1 additions and 32 deletions
-14
View File
@@ -71,20 +71,6 @@ func validateAddress(address string) error {
return nil
}
func sanitizeForLog(input string) string {
// Limiter la longueur
if len(input) > 100 {
input = input[:100] + "..."
}
// Supprimer caractères de contrôle
return strings.Map(func(r rune) rune {
if r < 32 || r == 127 {
return -1
}
return r
}, input)
}
// UpdateCommandAddress met à jour l'adresse de livraison d'une commande
// PUT /api/v1/admin/commands/:id/address
func UpdateCommandAddress(c *gin.Context) {