diff options
Diffstat (limited to 'cmd/sklad/main.go')
-rw-r--r-- | cmd/sklad/main.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/sklad/main.go b/cmd/sklad/main.go index decd894..c08ce2b 100644 --- a/cmd/sklad/main.go +++ b/cmd/sklad/main.go @@ -103,8 +103,11 @@ func handleContainer(w http.ResponseWriter, r *http.Request) { var err error if r.Method == http.MethodPost { err = handleContainerPost(r) - // XXX: This is rather ugly. When removing, we want to keep + // FIXME: This is rather ugly. When removing, we want to keep // the context id, in addition to the id being changed. + // TODO: If there were no errors, redirect the user to GET, + // which is related to the previous comment. + // TODO: If there were errors, use the last data as a prefill. } else if r.Method != http.MethodGet { w.WriteHeader(http.StatusMethodNotAllowed) return |