This commit is contained in:
konrad 2018-07-11 02:40:29 +02:00 committed by kolaente
parent ee4a904e35
commit 281e9c1cd0
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
4 changed files with 4 additions and 4 deletions

View file

@ -119,4 +119,4 @@ func (l *List) CanWrite(user *User) bool {
// TODO
return false
}
}

View file

@ -63,4 +63,4 @@ func UpdateListItem(c echo.Context) error {
// "$ref": "#/responses/Message"
return echo.NewHTTPError(http.StatusNotImplemented)
}
}

View file

@ -20,7 +20,7 @@ func (c *WebHandler) CreateWeb(ctx echo.Context) error {
}
// Get an ID if we have one
var id int64 = 0
var id int64
if ctx.Param("id") != "" {
id, err = models.GetIntURLParam("id", ctx)
if err != nil {

View file

@ -1,10 +1,10 @@
package crud
import (
"fmt"
"git.kolaente.de/konrad/list/models"
"github.com/labstack/echo"
"net/http"
"fmt"
)
// UpdateWeb is the webhandler to update an object