From 74bb29909962b0eec16255ecaaf5d9c8d9a762a3 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Tue, 16 Jun 2026 08:40:51 +0200 Subject: [PATCH] chore: build --- backend/gestion/handlers/gps.go | 1 - 1 file changed, 1 deletion(-) 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é"})