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)