|
@@ -107,7 +107,7 @@ func handleCreateList(c echo.Context) error {
|
|
// Hand over to the GET handler to return the last insertion.
|
|
// Hand over to the GET handler to return the last insertion.
|
|
c.SetParamNames("id")
|
|
c.SetParamNames("id")
|
|
c.SetParamValues(fmt.Sprintf("%d", newID))
|
|
c.SetParamValues(fmt.Sprintf("%d", newID))
|
|
- return c.JSON(http.StatusOK, handleGetLists(c))
|
|
|
|
|
|
+ return handleGetLists(c)
|
|
}
|
|
}
|
|
|
|
|
|
// handleUpdateList handles list modification.
|
|
// handleUpdateList handles list modification.
|