|
@ -38,6 +38,10 @@ func (r *channelRepository) List(ctx context.Context, filter models.ChannelFilte |
|
|
params.FilterEventName = true |
|
|
params.FilterEventName = true |
|
|
params.EventName = *filter.EventName |
|
|
params.EventName = *filter.EventName |
|
|
} |
|
|
} |
|
|
|
|
|
if filter.Logged != nil { |
|
|
|
|
|
params.FilterLogged = true |
|
|
|
|
|
params.Logged = *filter.Logged |
|
|
|
|
|
} |
|
|
if filter.Limit > 0 { |
|
|
if filter.Limit > 0 { |
|
|
params.LimitSize = int32(filter.Limit) |
|
|
params.LimitSize = int32(filter.Limit) |
|
|
} |
|
|
} |
|
|