aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-04-19 13:40:47 +0200
committerPřemysl Janouch <p@janouch.name>2019-04-19 13:40:47 +0200
commit2d1e01a1a2503d9d3d7ba04e3873629f0300199e (patch)
treec5c34fbf526fedd281ecb3fb49f36209d8578422 /cmd
parent1bd7a9d73500007764fa73f16c039a6a111e3177 (diff)
downloadsklad-2d1e01a1a2503d9d3d7ba04e3873629f0300199e.tar.gz
sklad-2d1e01a1a2503d9d3d7ba04e3873629f0300199e.tar.xz
sklad-2d1e01a1a2503d9d3d7ba04e3873629f0300199e.zip
sklad: make it possible to update the parent
Diffstat (limited to 'cmd')
-rw-r--r--cmd/sklad/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/sklad/main.go b/cmd/sklad/main.go
index 475d214..83b9213 100644
--- a/cmd/sklad/main.go
+++ b/cmd/sklad/main.go
@@ -92,6 +92,7 @@ func handleContainerPost(r *http.Request) error {
c := *container
c.Description = description
c.Series = series
+ c.Parent = parent
return dbContainerUpdate(container, c)
}
} else if remove {