diff options
author | Přemysl Janouch <p@janouch.name> | 2019-04-19 13:40:47 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2019-04-19 13:40:47 +0200 |
commit | 2d1e01a1a2503d9d3d7ba04e3873629f0300199e (patch) | |
tree | c5c34fbf526fedd281ecb3fb49f36209d8578422 | |
parent | 1bd7a9d73500007764fa73f16c039a6a111e3177 (diff) | |
download | sklad-2d1e01a1a2503d9d3d7ba04e3873629f0300199e.tar.gz sklad-2d1e01a1a2503d9d3d7ba04e3873629f0300199e.tar.xz sklad-2d1e01a1a2503d9d3d7ba04e3873629f0300199e.zip |
sklad: make it possible to update the parent
-rw-r--r-- | cmd/sklad/main.go | 1 |
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 { |