diff options
Diffstat (limited to 'api/command_join_test.go')
-rw-r--r-- | api/command_join_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command_join_test.go b/api/command_join_test.go index 6cf474c6b..a1dbace41 100644 --- a/api/command_join_test.go +++ b/api/command_join_test.go @@ -42,7 +42,7 @@ func TestJoinCommands(t *testing.T) { c1 := Client.Must(Client.GetChannels("")).Data.(*model.ChannelList) found := false - for _, c := range c1.Channels { + for _, c := range *c1 { if c.Id == channel2.Id { found = true } |