fix: manage stock

This commit is contained in:
Xor290
2026-05-13 11:30:22 +02:00
parent fb63855d9b
commit 65d1367f42
7 changed files with 167 additions and 186 deletions
+1
View File
@@ -188,6 +188,7 @@ func SetupRoutes(router *gin.Engine, database *db.Database, geoService *services
adminGroupV2.DELETE("/products/:id", handlers.DeleteProduct)
adminGroupV2.POST("/products/:id/media", handlers.UploadMedia)
adminGroupV2.DELETE("/products/:id/media/:media_id", handlers.DeleteMedia)
adminGroupV2.POST("/products/:id/stock", handlers.UpdateStock)
// ============================================
// CATÉGORIES - GESTION ADMIN
// ============================================