chore: refacto

This commit is contained in:
2026-04-20 19:41:52 +02:00
parent 5fc52c72ee
commit 2e9827af98
46 changed files with 497 additions and 648 deletions
+1 -2
View File
@@ -13,6 +13,7 @@ import (
"net/url"
"strconv"
"github.com/gin-gonic/gin"
)
@@ -43,7 +44,6 @@ func GetDeliveryPersonMapLinks(c *gin.Context) {
c.JSON(http.StatusNotFound, gin.H{
"success": false,
"error": "Position GPS non disponible pour ce livreur",
"details": err.Error(),
"message": "Le livreur n'a pas encore partagé sa position ou est hors ligne",
})
return
@@ -117,7 +117,6 @@ func GetCommandNavigationLinks(c *gin.Context) {
if err != nil {
c.JSON(http.StatusInternalServerError, gin.H{
"error": "Erreur génération des liens",
"details": err.Error(),
})
return
}