diff options
Diffstat (limited to 'api4/command.go')
-rw-r--r-- | api4/command.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api4/command.go b/api4/command.go index 64426193d..d051d57f6 100644 --- a/api4/command.go +++ b/api4/command.go @@ -305,6 +305,8 @@ func testCommand(c *Context, w http.ResponseWriter, r *http.Request) { rc := &model.CommandResponse{ Text: "test command response " + msg, ResponseType: model.COMMAND_RESPONSE_TYPE_IN_CHANNEL, + Type: "custom_test", + Props: map[string]interface{}{"someprop": "somevalue"}, } w.Write([]byte(rc.ToJson())) |