diff --git a/wagfarm-api/routes/log/harvest.go b/wagfarm-api/routes/log/harvest.go index 4701df2..77afb44 100644 --- a/wagfarm-api/routes/log/harvest.go +++ b/wagfarm-api/routes/log/harvest.go @@ -6,12 +6,18 @@ import ( "github.com/gin-gonic/gin" ) -func RegisterHarvestRoutes(router *gin.Engine, path string) { +func RegisterHarvestRoutes(router *gin.Engine) { db := database.DB - router.GET(path+"/harvest", func(c *gin.Context) { + router.GET("/harvest", func(c *gin.Context) { }) - router.POST(path+"/harvest", func(c *gin.Context) { + router.POST("/harvest", func(c *gin.Context) { + }) + router.PUT("/harvest", func(c *gin.Context) { + + }) + router.DELELTE("/harvest", func(c *gin.Context) { + }) }