chore: build
ci-api / test (push) Failing after 8m7s
ci-web / test (push) Failing after 5m5s

This commit is contained in:
Xor290
2026-09-20 12:18:33 +02:00
parent 8f4c7fa47a
commit 919c807004
174 changed files with 9669 additions and 1308 deletions
+6
View File
@@ -9,3 +9,9 @@ func RegisterAdminRoutes(rg *gin.RouterGroup, h *Handler, requireAdmin gin.Handl
group.PUT("/:id", h.Update)
group.DELETE("/:id", h.Delete)
}
// RegisterPublicRoutes exposes the read-only unit list so the storefront
// can render price-tier labels (e.g. "3.5 g", "10 mg").
func RegisterPublicRoutes(rg *gin.RouterGroup, h *Handler) {
rg.GET("/units", h.List)
}