From 6df18ed14d47cdaf186148c9342b01cc320e843b Mon Sep 17 00:00:00 2001 From: M_Kececi Date: Fri, 6 Mar 2026 14:49:57 +0300 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- svc/main.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/svc/main.go b/svc/main.go index a2dcb11..dc8ba50 100644 --- a/svc/main.go +++ b/svc/main.go @@ -556,6 +556,21 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router "order", "view", wrapV3(http.HandlerFunc(routes.GetProductSecondColorsHandler)), ) + bindV3(r, pgDB, + "/api/product-stock-query", "GET", + "order", "view", + wrapV3(http.HandlerFunc(routes.GetProductStockQueryHandler)), + ) + bindV3(r, pgDB, + "/api/product-stock-attribute-options", "GET", + "order", "view", + wrapV3(http.HandlerFunc(routes.GetProductStockAttributeOptionsHandler)), + ) + bindV3(r, pgDB, + "/api/product-stock-query-by-attributes", "GET", + "order", "view", + wrapV3(http.HandlerFunc(routes.GetProductStockQueryByAttributesHandler)), + ) // ============================================================ // ROLE MANAGEMENT