diff --git a/backend/gestion/handlers/gps.go b/backend/gestion/handlers/gps.go index cd154e6b..70382752 100644 --- a/backend/gestion/handlers/gps.go +++ b/backend/gestion/handlers/gps.go @@ -20,7 +20,6 @@ import ( func GetDeliveryPersonMapLinks(c *gin.Context) { database := c.MustGet("database").(*db.Database) - // Vérification du rôle admin userRole := c.GetString("role") if userRole != "admin" && userRole != "cabine" { c.JSON(http.StatusForbidden, gin.H{"error": "Accès refusé"})