Added an endpoint to update a team <-> list relation

This commit is contained in:
kolaente 2018-09-19 08:08:41 +02:00
parent 5e8597699d
commit aa40ab8eed
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
4 changed files with 33 additions and 1 deletions

View file

@ -93,6 +93,7 @@ func RegisterRoutes(e *echo.Echo) {
a.GET("/lists/:list/teams", listTeamHandler.ReadAllWeb)
a.PUT("/lists/:list/teams", listTeamHandler.CreateWeb)
a.DELETE("/lists/:list/teams/:team", listTeamHandler.DeleteWeb)
a.POST("/lists/:list/teams/:team", listTeamHandler.UpdateWeb)
listUserHandler := &crud.WebHandler{
CObject: &models.ListUser{},