From 1b883a6d69c02f5a0ae4616c3bd7f75e93f4fbac Mon Sep 17 00:00:00 2001 From: Andrey Epifantsev Date: Mon, 1 Sep 2025 13:58:05 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D0=B0=D1=82=20=D1=81=D0=B8?= =?UTF-8?q?=D1=81=D1=82=D0=B5=D0=BC=D1=8B=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=20-=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=B2=D1=81=D0=B5=20=D1=81=D0=B2=D1=8F=D0=B7=D0=B0?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D0=B5=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20?= =?UTF-8?q?=D0=B8=20=D0=BC=D0=B0=D1=80=D1=88=D1=80=D1=83=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core-service/internal/api/server.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/core-service/internal/api/server.go b/core-service/internal/api/server.go index 25e888d..f295d27 100644 --- a/core-service/internal/api/server.go +++ b/core-service/internal/api/server.go @@ -131,9 +131,7 @@ func (s *Server) setupRoutes() { protected.PUT("/operations/placements/:id/quantity", s.operationsHandler.UpdateQuantity) protected.DELETE("/operations/placements/:id", s.operationsHandler.DeletePlacement) - // Templates - protected.GET("/templates", s.getTemplates) - protected.POST("/templates/:id/apply", s.applyTemplate) + } } } @@ -154,13 +152,7 @@ func (s *Server) updateOrganization(c *gin.Context) { c.JSON(http.StatusNotImplemented, gin.H{"error": "Not implemented yet"}) } -func (s *Server) getTemplates(c *gin.Context) { - c.JSON(http.StatusNotImplemented, gin.H{"error": "Not implemented yet"}) -} -func (s *Server) applyTemplate(c *gin.Context) { - c.JSON(http.StatusNotImplemented, gin.H{"error": "Not implemented yet"}) -} func (s *Server) Start() error { return s.router.Run(s.config.Server.Host + ":" + s.config.Server.Port)