chore: refacto
This commit is contained in:
@@ -595,10 +595,6 @@ func ValidateDelivery(c *gin.Context) {
|
||||
})
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// GESTION ADMIN
|
||||
// ============================================
|
||||
|
||||
// GetAvailableDeliveryPersons récupère les livreurs disponibles
|
||||
// GET /api/v1/admin/delivery-persons/available
|
||||
func GetAvailableDeliveryPersons(c *gin.Context) {
|
||||
@@ -778,13 +774,6 @@ func GetClientCommandsHistory(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, resp)
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// NOTIFICATIONS CLIENT
|
||||
// ============================================
|
||||
|
||||
// NotifyClientToDescend envoie une notification push au client pour descendre récupérer sa commande
|
||||
// POST /api/v2/admin/protected/orders/:id/notify-client
|
||||
// POST /api/v1/cabine/commands/:id/notify-client
|
||||
func NotifyClientToDescend(c *gin.Context) {
|
||||
database := c.MustGet("database").(*db.Database)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user