diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-06-29 09:07:13 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-06-29 09:07:13 -0400 |
commit | cebb4bef843e848531bdf3465f49bd0d995efa8e (patch) | |
tree | 28f8c7052b6958ba2daf4881f9fe24a0b1a04e47 /manualtesting | |
parent | 0792eb18d535410b456f3cc569e243efb85a47b6 (diff) | |
download | chat-cebb4bef843e848531bdf3465f49bd0d995efa8e.tar.gz chat-cebb4bef843e848531bdf3465f49bd0d995efa8e.tar.bz2 chat-cebb4bef843e848531bdf3465f49bd0d995efa8e.zip |
move default channel creation to seperate func and add off-topic
Diffstat (limited to 'manualtesting')
-rw-r--r-- | manualtesting/manual_testing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manualtesting/manual_testing.go b/manualtesting/manual_testing.go index ead441108..929f7ab5d 100644 --- a/manualtesting/manual_testing.go +++ b/manualtesting/manual_testing.go @@ -78,7 +78,7 @@ func manualTest(c *api.Context, w http.ResponseWriter, r *http.Request) { createdTeam := result.Data.(*model.Team) channel := &model.Channel{DisplayName: "Town Square", Name: "town-square", Type: model.CHANNEL_OPEN, TeamId: createdTeam.Id} - if _, err := api.CreateChannel(c, channel, r.URL.Path, false); err != nil { + if _, err := api.CreateChannel(c, channel, false); err != nil { c.Err = err return } |