This commit is contained in:
Asim Aslam
2021-11-18 13:02:33 +00:00
parent 7f7a87c428
commit d6d7577584
13 changed files with 27 additions and 21 deletions

View File

@@ -117,9 +117,9 @@ func (s *Stream) ListChannels(ctx context.Context, req *pb.ListChannelsRequest,
name := strings.TrimPrefix(channel.Id, id+"/")
rsp.Channels = append(rsp.Channels, &pb.Channel{
Name: name,
Name: name,
Description: channel.Description,
LastActive: time.Unix(0, channel.Updated).Format(time.RFC3339Nano),
LastActive: time.Unix(0, channel.Updated).Format(time.RFC3339Nano),
})
}