1
0

Added list create and update methods

This commit is contained in:
konrad
2018-06-10 14:14:10 +02:00
committed by kolaente
parent fb4c9d580c
commit f372128784
7 changed files with 167 additions and 6 deletions

View File

@ -50,4 +50,7 @@ func RegisterRoutes(e *echo.Echo) {
// Authetification
a.Use(middleware.JWT(models.Config.JWTLoginSecret))
a.POST("/tokenTest", apiv1.CheckToken)
a.PUT("/lists", apiv1.AddOrUpdateList)
a.POST("/lists/:id", apiv1.AddOrUpdateList)
}