diff options
Diffstat (limited to 'api4/command.go')
-rw-r--r-- | api4/command.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api4/command.go b/api4/command.go index 123be1932..64766ef3c 100644 --- a/api4/command.go +++ b/api4/command.go @@ -41,5 +41,6 @@ func createCommand(c *Context, w http.ResponseWriter, r *http.Request) { } c.LogAudit("success") + w.WriteHeader(http.StatusCreated) w.Write([]byte(rcmd.ToJson())) } |